File: iodbc.c

package info (click to toggle)
sqlrelay 1%3A0.37.1-3.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 13,084 kB
  • ctags: 6,691
  • sloc: cpp: 48,136; python: 10,118; ansic: 9,673; java: 9,195; php: 8,839; perl: 8,827; sh: 8,554; ruby: 8,516; tcl: 5,039; makefile: 3,665
file content (14 lines) | stat: -rw-r--r-- 218 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <sql.h>
#include <sqlext.h>
#include <sqltypes.h>

int main(int argc, char **argv) {

	SQLHENV		env;
	SQLHDBC		dbc;

	SQLAllocEnv(&env);
	SQLAllocConnect(env,&dbc);
	SQLFreeConnect(&dbc);
	SQLFreeEnv(&env);
}