摘要:
// ConsoleApplication5.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include #include using namespace std; int _tmain(int argc, _TCHAR* argv[]) { ... 阅读全文
摘要:
想要插入一条数据,要避免重复插入,又不想折腾两回数据库连接操作,可以参考如下办法。 INSERT INTO table(column1,column2,column3 ...columnN) SELECT value1,value2,value3 ...valueN FROM dual WHERE 阅读全文
摘要:
// List.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <vld.h> using namespace std; ty 阅读全文