General discussion forum about all databases other than SqlBase.
Could any one help me in proving the code to connect to sql server through oledb?
Well, the code is to set the SqlUDL TD variable is one way. Here's an example:
Set SqlUDL = "Provider=SQLOLEDB;Password=<password>;Persist Security Info=True;User ID=<user>;Initial Catalog=<database>;Data Source=<server>"
and then call SqlConnect
Another is shown in TD help for this function: SqlCreateSession
I suggest writing a small app. to test this to see how it works.
I have written a small testcase but it is not working. I have atached the file and error screenshot also. Could you please have a look and advise me?
You do not have the required permissions to view the files attached to this post.
Could you please help me by looking into this sample?
Who is online
Users browsing this forum: [Ccbot] and 0 guests