in a function can i use ExecuteSQL using the same database connection more than two times not using CRecordset object?
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
such as :extern CDatabase db; CString sql1,sql2; .... sql1=" ...."; db.ExecuteSQL(sql); ..... sql2="..."; db.ExecuteSQL(sql); ....
You can call as many ExecuteSQL statements as you like given that the sql is a valid sql statement. Ant. I'm hard, yet soft.
I'm coloured, yet clear.
I'm fuity and sweet.
I'm jelly, what am I? Muse on it further, I shall return! - David Williams (Little Britain)