I've just started looking at SQL-Server V7, I'm currently using a jet database and I'm looking to move my application over to SQLSERVER.
I've tried to be as standard as I can with my SQL statements throughout the code, i.e. not using any VB functions.
I optimistically thought that I would simply have to change the OpenDatabase command to connect to the ODBC DSN which points to the database on an SQL server. (ha ha ha)
I'm using a ODBC workspace and just using a
Which works fine, except that the only thing I can do with this is select statements, as soon as I try to run an update SQL statement, it say ODBC-Call failed (or something like that).
I'm just doing
delete * from [MyTable] where idx=1
surely this should work... is there any way of getting more detailed error reports from SQL ?? 'ODBC Call failed' doesn't help me much.
Another question, which I'll award points for separately (should I get a positive answer) is, can you create a database on a SQLsever remotely via VB code ???