Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

TCL(Tool Command Language) Scripting

newbie snodbc


package require Tclx
package require snodbc

proc rechandler {id name} {
     puts "$id $name"

}

set user sa
set password odbc

database connect sqlca GENEA-PG $user $password

sqlca eval rechandler "select id_no, name from people"

##########################################################

Even if I supply the wrong user and password I can still connect to
the database. I'm using postgres on windows xp. Can someone help me on
this.

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc