Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5356

SQL Toolkit

$
0
0

Hello,

 

Just have a quick question about the SQL toolkit (v2.3).

Is there a way to lock an ms sql database upon connection?

 

I'm currently doing the following sequence:

DBConnect()

DBSetDatabase()

DBActivateSQL()

DBFree()

DBDisconnect()

 

However, when I do a connect, I don't want to have a same application to be able to read the database.

 

My understanding is that if I create 2 separate executable with the same functions both .exe will be able to access the ms sql database at the same time.

 

I tried to implement an optimistic concurrency but I don't think it's working.


Viewing all articles
Browse latest Browse all 5356


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>