Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: Function to Create an ADO Connection

$
0
0

Hi

I am using Open Embedded SQL with project properties 'SQL(DBMAN=ADO) SQL(TARGETDB=MSSQLSERVER) SQL(BEHAVIOR=ANSI)'. The DB connection looks like:

move "Server=WLSQLServer;Database=TESTDB;Trusted_Connection=yes;MultipleActiveResultSets=True;factory=System.Data.SqlClient;" to myConnStr

exec SQL

 connect using :myConnStr

end-exec.

If you like I can send you a small solution with access to a single DB table.

Freundliche Grüsse

Werner Lanter


Viewing all articles
Browse latest Browse all 4356

Trending Articles



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