Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL statement
Message
De
23/09/2002 10:22:26
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00702471
Message ID:
00703371
Vues:
14
well, it looks a little better. now I am only getting the message:

[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'emnsql02'

I assume the user name and password are for the database and not the server.
Do I need single quotes around the user id and password? And, if the user name and password are based on Windows Authentication, does it make a difference if you are logging in locally or onto a domain? Also, what does 'emnsql02' mean?

SELECT Inventory.Descr, Inventory.InvtID, Inventory.User6
FROM Inventory
INNER JOIN OPENROWSET('SQLOLEDB',
'server=(local);User id=x;password=123;
database=MEDex', inventory) LocalInv ON
Inventory.InvtID = LocalInv.solomonid
Randy Belcher
AFG Industries, Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform