NCBI C++ ToolKit
Macros | Functions | Variables
cursor1.c File Reference
#include "common.h"
#include <common/test_assert.h>
+ Include dependency graph for cursor1.c:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define SWAP_STMT(b)   do { SQLHSTMT xyz = odbc_stmt; odbc_stmt = b; b = xyz; } while(0)
 
#define ROWS   4
 
#define C_LEN   10
 

Functions

static void Test0 (int use_sql, const char *create_sql, const char *insert_sql, const char *select_sql)
 
static void Test (int use_sql)
 
int main (int argc, char *argv[])
 

Variables

static int mssql2005 = 0
 

Macro Definition Documentation

◆ C_LEN

#define C_LEN   10

◆ ROWS

#define ROWS   4

◆ SWAP_STMT

#define SWAP_STMT (   b)    do { SQLHSTMT xyz = odbc_stmt; odbc_stmt = b; b = xyz; } while(0)

Definition at line 7 of file cursor1.c.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ Test()

static void Test ( int  use_sql)
static

Definition at line 123 of file cursor1.c.

References odbc_command, odbc_command_with_result(), odbc_db_is_microsoft(), odbc_stmt, and Test0().

Referenced by main().

◆ Test0()

static void Test0 ( int  use_sql,
const char *  create_sql,
const char *  insert_sql,
const char *  select_sql 
)
static

Variable Documentation

◆ mssql2005

int mssql2005 = 0
static

Definition at line 9 of file cursor1.c.

Referenced by main(), and Test0().

Modified on Fri Jan 05 07:24:27 2024 by modify_doxy.py rev. 669887