Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC Not showing all databases
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00954197
Message ID:
00954206
Views:
14
>I just checked and yes I do have admin rights with the login I am using.
>
>Also I can't see any of the other databases, other than the ones I previously mentioned, like northwind, pubs and distribution. Not sure why I only get 4 databases come up? I'm quite new to SQL Server and so I get the feeling there are things I just don't realize occuring.

Can you access them with DSN-less connection?
lcDb = "pubs"
lcServer = "..."
lcConnStr = "DRIVER=SQL Server;" + ;
			"SERVER=" + lcServer + ";" + ;
			"Network=DBMSSOCN;" + ;
			"DATABASE=" + lcDb 

lnConn = SqlStringConnect(lcConnStr)
IF lnConn < 0
	* Use AERROR() here  to get ODBC errors
	RETURN .F.
ENDIF
lcSql = [SELECT * FROM Authors ]
lnRes = SQLEXEC(lnConn, lcSql, "crsTemp")
IF lnRes < 0
	* Use AERROR() here  to get ODBC errors
	RETURN .F.
ENDIF
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform