?? test.cxx
字號:
// test.cpp : Defines the entry point for the console application.
//
#include <stdio.h>
#include "dbclient.h"
int main(int argc, char* argv[])
{
Connect();
printf("Connect OK.\n");
RecordSet set;
set.Open("select * from 計量點參數表");
for(int k=0;k<set.GetRecordsCount();k++)
{
Record *pRec=set.GetRecord(k);
for(int l=0;l<pRec->GetFieldsCount();l++)
{
printf("%s",pRec->GetFieldValue(l));
if(l==(pRec->GetFieldsCount()-1))
printf("\n");
else
printf("\t");
}
}
//ExecCommand("select empno,ename,job,mgr,to_char(hiredate,'yyyy/mm/dd') hiredate,sal,comm,deptno from EMP");
DisConnect();
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -