how to set schema in ado.net after open the connection -


i connecting db2 database in database different schemas there. want connect connect particular schema only, tried in connection string cant give schema, after connection opening have set schema, have code i.e using connect active data object(ado) only, in ado.net how give dont know below code ado connection

db.open dbcon_string  db.execute ("set schema=" & appschema)  db.execute ("set path=""sysibm"",""sysfun"",""sysproc"",""sysibmadm"",""" & appschema & """") 

note: db adodb.connection replace appschema ‘etwrms’

the below link may prove helpful-

http://msdn.microsoft.com/en-us/library/ms971481.aspx


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -