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-
Comments
Post a Comment