R
Robert Dufour
If I use Dim Myconn as new sqlclient.connection
Dim srvVer as string
srvVer = MyConn.serverversion
What should I get back as string if I was connected to sql server 2000
(standard full version)
what would I get back if it was sqlserver 2005 (standard full version)
are the returend strings different for the sql server developper editions
and the free versions for both 2000 and 2005?
Where can I find docs on this subject?
Some SQL statements seem to require slightly different syntax in the 2005
over the 2000 ver.
Does the 2005 versions support ALL 2000 SQL syntax or do I need to detect
the version to generate the dynamic sql statements in my vb code to adapt to
the correct version of sql server.
Any help would be greatly appreciated.
Bob
Dim srvVer as string
srvVer = MyConn.serverversion
What should I get back as string if I was connected to sql server 2000
(standard full version)
what would I get back if it was sqlserver 2005 (standard full version)
are the returend strings different for the sql server developper editions
and the free versions for both 2000 and 2005?
Where can I find docs on this subject?
Some SQL statements seem to require slightly different syntax in the 2005
over the 2000 ver.
Does the 2005 versions support ALL 2000 SQL syntax or do I need to detect
the version to generate the dynamic sql statements in my vb code to adapt to
the correct version of sql server.
Any help would be greatly appreciated.
Bob