Click here to Skip to main content
15,925,444 members
Home / Discussions / Database
   

Database

 
GeneralRe: Access a database on a LAN server from a client app. Pin
mrgruby2-Sep-06 4:04
mrgruby2-Sep-06 4:04 
GeneralRe: Access a database on a LAN server from a client app. Pin
Paul Conrad2-Sep-06 7:14
professionalPaul Conrad2-Sep-06 7:14 
GeneralRe: Access a database on a LAN server from a client app. Pin
Colin Angus Mackay2-Sep-06 12:08
Colin Angus Mackay2-Sep-06 12:08 
QuestionProblem inserting xml string into temp table (inserting only a part of string not complete) Pin
sandeep kumar pundhir1-Sep-06 2:18
sandeep kumar pundhir1-Sep-06 2:18 
QuestionRe: Problem inserting xml string into temp table (inserting only a part of string not complete) Pin
Eric Dahlvang1-Sep-06 4:01
Eric Dahlvang1-Sep-06 4:01 
AnswerRe: Problem inserting xml string into temp table (inserting only a part of string not complete) Pin
sandeep kumar pundhir1-Sep-06 5:20
sandeep kumar pundhir1-Sep-06 5:20 
GeneralRe: Problem inserting xml string into temp table (inserting only a part of string not complete) Pin
Eric Dahlvang1-Sep-06 5:34
Eric Dahlvang1-Sep-06 5:34 
QuestionIDENTITY (1, 1) Pin
Brendan Vogt1-Sep-06 1:38
Brendan Vogt1-Sep-06 1:38 
Hi,

I have an ID field and it has been set to increment by 1 every time a record is added.

When I exported this table to another database server, it "lost" this identity. Now when I tried to select Modify from the menu, I keep on getting a SQL problem and then management studio closes. So my only other solution is to use a sql script to change this identity to IDENTITY (1, 1).

How do I do this??

The table name is Orders, and the ID field is OrderID_PK int, this is the primary key.

How do I keep the identity as it is when I import a table from one database to another??

I am using SQL Server 2005.

Regards,
ma se
AnswerRe: IDENTITY (1, 1) Pin
Eric Dahlvang1-Sep-06 12:10
Eric Dahlvang1-Sep-06 12:10 
Questionconcurrency violation Pin
webspeed1-Sep-06 0:20
webspeed1-Sep-06 0:20 
QuestionColumns not displaying in Crystal Report Pin
Ratish Aravind31-Aug-06 8:28
Ratish Aravind31-Aug-06 8:28 
QuestionHow to overcome transaction deadlock error Pin
kavithapuranik31-Aug-06 1:11
kavithapuranik31-Aug-06 1:11 
AnswerRe: How to overcome transaction deadlock error Pin
Stephen McGuire31-Aug-06 2:32
Stephen McGuire31-Aug-06 2:32 
AnswerRe: How to overcome transaction deadlock error Pin
Colin Angus Mackay31-Aug-06 4:47
Colin Angus Mackay31-Aug-06 4:47 
QuestionSql Server2000: Msg 8101 Pin
indiaone30-Aug-06 23:37
indiaone30-Aug-06 23:37 
AnswerRe: Sql Server2000: Msg 8101 Pin
Mike Dimmick31-Aug-06 3:03
Mike Dimmick31-Aug-06 3:03 
QuestionHow to present data to user in HTML table. Pin
HimaBindu Vejella30-Aug-06 22:36
HimaBindu Vejella30-Aug-06 22:36 
AnswerRe: How to present data to user in HTML table. Pin
Sage1-Sep-06 0:22
Sage1-Sep-06 0:22 
Questionstored procedure yazan 3 Pin
yazan_zahi30-Aug-06 22:25
yazan_zahi30-Aug-06 22:25 
AnswerRe: stored procedure yazan 3 Pin
Colin Angus Mackay31-Aug-06 4:52
Colin Angus Mackay31-Aug-06 4:52 
GeneralRe: stored procedure yazan 3 Pin
Sage1-Sep-06 0:23
Sage1-Sep-06 0:23 
GeneralRe: stored procedure yazan 3 Pin
Colin Angus Mackay1-Sep-06 0:45
Colin Angus Mackay1-Sep-06 0:45 
GeneralRe: stored procedure yazan 3 Pin
Sage1-Sep-06 0:51
Sage1-Sep-06 0:51 
GeneralRe: stored procedure yazan 3 Pin
Colin Angus Mackay1-Sep-06 10:49
Colin Angus Mackay1-Sep-06 10:49 
Questionstored procedure yazan 2 Pin
yazan_zahi30-Aug-06 21:42
yazan_zahi30-Aug-06 21:42 

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.