|
-
November 16th, 2011, 08:48 PM
#1
HELP: Why EXcute() of CDaodatabase does not work with "CREATE TABLE" sql
Using CDaodatabase and CDaoRecordset to work with Sql2000 personal.
sql = _T("SELECT * INTO YOU FROM MY WHERE 1=2");
db.Execute(sql);
Excute() is doing well with copying a table, but
sql = _T("CREATE TABLE THEY (DATES Long NOT NULL PRIMARY KEY,CROSS Long NULL);");
db.Execute(sql);
Excute( ) does not work!!! it does not work with "CREATE TABLE" sql!!!!
Why??
Last edited by genliu777; November 16th, 2011 at 08:52 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|