Jump to content

Ajuda para ligar uma aplicação a SQL Server 2008 R2


jcbiker
 Share

Recommended Posts

Boa tarde,

tenho uma aplicação feita em vb6 que está ligada a uma base em access através deste código

 REL.Open "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=" & BASEDADOS & ";Jet OLEDB:Database Password=1420jUvlD"

Mas queria colocala no Sql Server 2008 R2

 REL.Open "Provider=SQLOLEDB.1;Persist Security Info=true;User ID=" & vUI & "; Initial Catalog=vBD;Data Source=" & Logistica & "'"

Só que não funciona.`

é que eu não sei quais os dados a inserir no User ID, nem no Initial Catalog, nem no Data Source.

Se alguem me puder ajudar agradecia

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.