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
Change exchange account email display name
I am copying 40 diferent databases to a directory that these databases already exists. How do I prevent the system message "This Directory already exist" "Overwright" "Yes" "No" from appearing each ti
Microsoft Word doc only show important text when "non-printing characters" is on
YTD Query breakdown by week for all weeks.
Replication failed. The search key was not found in any record.
Acess 2007 template graphic header called Office.png
Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call.
Two DHCP Servers on one network
ApplyFilter based on multiple criteria selected from combo boxes...
Can't copy mscal.ocx file in Windows\system32