Microsoft
Software
Hardware
Network
Question : SQL Syntax problem. Getting eror with query.
I am trying to run this query on a SQL Server 2000 DB but I get the error message
"Line 1: Incorrect syntax near 'LOGIN'.
Incorrect syntax near the keyword 'USER'."
Can someone please explain what I am doing wrong.
Code Snippet:
1:
CREATE LOGIN 1234 WITH PASSWORD = ABC123'; USE testDB; CREATE USER 1234FOR LOGIN 1234; GO()
Open in New Window
Select All
Answer : SQL Syntax problem. Getting eror with query.
EXEC sp_addlogin '1234','US3016319600:30:6E
:26:D8:49'
USE COFSE
EXEC spgrantdbAccess '1234'
Random Solutions
Unable to Sync Outlook Calander Appointments that originat in Google Calander.
how to use rc2 file?
Copied all vb files (..vb file, project, solution, user options) for a project but getting errors.
How to overline in Word2003?
Report on Form
How to upload a new version of the PDF file - Sharepoint Services 3.0?
ODBC Connection to Back End Access MDB with Front End MDE
can I resell Windows Home Server OEM after 1 months use
Silverlight: open excel in Browser
Create directory with current date