S
Stan Sainte-Rose
Hi Everybody,
What is the best way to declare the connection string like a variable.
I use sql server by my side and my friend will use msde.
I thought to use an udl file but it seems it works only for oledb
connection.
My string looks like this :
data source=<myServer>;initial catalog=<myCatalog>;integrated
security=SSPI;persist security info=False;workstation id=<myComputer>;packet
size=4096
and of course, for my friend, myServer, myCatalog have not the same names.
Does it mean, I have to compile a version with my own parameters (for my
tests) and one for my friend's parameters
or is there a hint ?
Stan
What is the best way to declare the connection string like a variable.
I use sql server by my side and my friend will use msde.
I thought to use an udl file but it seems it works only for oledb
connection.
My string looks like this :
data source=<myServer>;initial catalog=<myCatalog>;integrated
security=SSPI;persist security info=False;workstation id=<myComputer>;packet
size=4096
and of course, for my friend, myServer, myCatalog have not the same names.
Does it mean, I have to compile a version with my own parameters (for my
tests) and one for my friend's parameters
or is there a hint ?
Stan