Click here to Skip to main content
15,905,867 members
Home / Discussions / Database
   

Database

 
GeneralRe: ERROR ON UPDATE QUERY Pin
Blue_Boy29-Mar-08 13:01
Blue_Boy29-Mar-08 13:01 
GeneralMaking Multiple "Copies" of a Database Pin
Brendan Vogt16-Mar-08 0:42
Brendan Vogt16-Mar-08 0:42 
GeneralRe: Making Multiple "Copies" of a Database Pin
pmarfleet16-Mar-08 0:47
pmarfleet16-Mar-08 0:47 
AnswerRe: Making Multiple "Copies" of a Database Pin
Brendan Vogt16-Mar-08 0:53
Brendan Vogt16-Mar-08 0:53 
QuestionRe: Making Multiple "Copies" of a Database Pin
Brendan Vogt16-Mar-08 1:00
Brendan Vogt16-Mar-08 1:00 
GeneralRe: Making Multiple "Copies" of a Database Pin
pmarfleet16-Mar-08 1:50
pmarfleet16-Mar-08 1:50 
GeneralRe: Making Multiple "Copies" of a Database Pin
Syed Mehroz Alam18-Mar-08 9:47
Syed Mehroz Alam18-Mar-08 9:47 
Questionhow to ON/OFF identity field through sql script? Pin
combo_ci15-Mar-08 23:48
combo_ci15-Mar-08 23:48 
i m using sqlserver 2000
i have a table that has the primary key set as identity
i want to make that off insert one row and value that column that is set as identity and then again make that on and i want to do that through sql script.

i try this code

CREATE TABLE MyCustomers (CustID INTEGER IDENTITY (100,1) PRIMARY KEY, CompanyName NvarChar (50))
INSERT INTO MyCustomers (CompanyName) VALUES ('A. Datum Corporation')
ALTER TABLE MyCustomers ALTER COLUMN CustId IDENTITY (200, 2)

And have got this error always:
Incorrect syntax near the keyword 'IDENTITY'.

Why I got this?
AnswerRe: how to ON/OFF identity field through sql script? Pin
Mark J. Miller17-Mar-08 4:40
Mark J. Miller17-Mar-08 4:40 
GeneralJet DB Error on Windows 2000 [modified] Pin
Dr.Walt Fair, PE15-Mar-08 15:26
professionalDr.Walt Fair, PE15-Mar-08 15:26 
AnswerRe: Jet DB Error on Windows 2000 Pin
Dr.Walt Fair, PE17-Mar-08 5:12
professionalDr.Walt Fair, PE17-Mar-08 5:12 
GeneralNeed to execute a very time consuming Stored procedure on a remote machine. Pin
Rocky#15-Mar-08 1:10
Rocky#15-Mar-08 1:10 
GeneralRe: Need to execute a very time consuming Stored procedure on a remote machine. Pin
Paul Conrad15-Mar-08 8:03
professionalPaul Conrad15-Mar-08 8:03 
GeneralRe: Need to execute a very time consuming Stored procedure on a remote machine. Pin
Rocky#16-Mar-08 21:28
Rocky#16-Mar-08 21:28 
GeneralRe: Need to execute a very time consuming Stored procedure on a remote machine. Pin
Krish - KP16-Mar-08 23:06
Krish - KP16-Mar-08 23:06 
GeneralRe: Need to execute a very time consuming Stored procedure on a remote machine. Pin
Rocky#17-Mar-08 0:03
Rocky#17-Mar-08 0:03 
GeneralRe: Need to execute a very time consuming Stored procedure on a remote machine. Pin
Mark J. Miller17-Mar-08 4:43
Mark J. Miller17-Mar-08 4:43 
GeneralRe: Need to execute a very time consuming Stored procedure on a remote machine. Pin
Rocky#17-Mar-08 6:03
Rocky#17-Mar-08 6:03 
GeneralRe: Need to execute a very time consuming Stored procedure on a remote machine. Pin
Mark J. Miller17-Mar-08 6:13
Mark J. Miller17-Mar-08 6:13 
GeneralRe: Need to execute a very time consuming Stored procedure on a remote machine. Pin
Rocky#17-Mar-08 6:18
Rocky#17-Mar-08 6:18 
GeneralRe: Need to execute a very time consuming Stored procedure on a remote machine. Pin
Mark J. Miller17-Mar-08 6:34
Mark J. Miller17-Mar-08 6:34 
GeneralRe: Need to execute a very time consuming Stored procedure on a remote machine. Pin
Rocky#17-Mar-08 6:46
Rocky#17-Mar-08 6:46 
GeneralRe: Need to execute a very time consuming Stored procedure on a remote machine. Pin
Mark J. Miller17-Mar-08 6:56
Mark J. Miller17-Mar-08 6:56 
GeneralRe: Need to execute a very time consuming Stored procedure on a remote machine. Pin
Rocky#17-Mar-08 7:11
Rocky#17-Mar-08 7:11 
Questionavoiding 1/1/1900 in SQL SERVER? Pin
John Sundar14-Mar-08 23:03
John Sundar14-Mar-08 23:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.