Click here to Skip to main content
15,920,632 members
Home / Discussions / Database
   

Database

 
GeneralRe: How to copy existing database in same folder? Pin
originSH18-Jul-07 23:08
originSH18-Jul-07 23:08 
GeneralRe: How to copy existing database in same folder? Pin
help as an alias18-Jul-07 23:12
help as an alias18-Jul-07 23:12 
GeneralRe: How to copy existing database in same folder? Pin
help as an alias18-Jul-07 23:23
help as an alias18-Jul-07 23:23 
GeneralRe: How to copy existing database in same folder? Pin
originSH18-Jul-07 23:58
originSH18-Jul-07 23:58 
GeneralRe: How to copy existing database in same folder? Pin
help as an alias19-Jul-07 0:01
help as an alias19-Jul-07 0:01 
GeneralRe: How to copy existing database in same folder? Pin
Vasudevan Deepak Kumar19-Jul-07 21:52
Vasudevan Deepak Kumar19-Jul-07 21:52 
QuestionChange value of existing rows of an identity column Pin
Harini N K18-Jul-07 18:47
Harini N K18-Jul-07 18:47 
AnswerRe: Change value of existing rows of an identity column Pin
Mike Dimmick19-Jul-07 0:17
Mike Dimmick19-Jul-07 0:17 
Harini N K wrote:
I am using SQL server 2005 and I have tried to modify the column as identity seed to NO using MS SQL Server Management Studio but it is hanging.


This normally indicates that there are existing connections open that have taken Schema Stability locks on the table. These locks should be shortlived - check for transactions that haven't been committed or rolled back.

To disable the identity feature completely, use ALTER TABLE table ALTER COLUMN column_name data_type. It sounds, though, as if you want to set the identity value of some existing rows, or set the identity value of new rows you're inserting. To do this, use SET IDENTITY_INSERT table ON. It's normally a good idea to turn this off when you're done. Also, use DBCC CHECKIDENT to ensure that the next row inserted which uses the identity value does not get a clashing value.

Stability. What an interesting concept. -- Chris Maunder

QuestionHow to select another table instead of INNER JOIN multi-part identifier Pin
masyarial18-Jul-07 17:49
masyarial18-Jul-07 17:49 
AnswerRe: How to select another table instead of INNER JOIN multi-part identifier Pin
Krish - KP18-Jul-07 18:06
Krish - KP18-Jul-07 18:06 
QuestionSQL tutorial Pin
firestoper18-Jul-07 15:54
firestoper18-Jul-07 15:54 
AnswerRe: SQL tutorial Pin
leckey18-Jul-07 16:39
leckey18-Jul-07 16:39 
GeneralRe: SQL tutorial Pin
firestoper18-Jul-07 17:17
firestoper18-Jul-07 17:17 
GeneralRe: SQL tutorial Pin
Sathesh Sakthivel18-Jul-07 17:26
Sathesh Sakthivel18-Jul-07 17:26 
GeneralRe: SQL tutorial Pin
Rob Graham19-Jul-07 3:42
Rob Graham19-Jul-07 3:42 
AnswerRe: SQL tutorial Pin
Sathesh Sakthivel18-Jul-07 17:10
Sathesh Sakthivel18-Jul-07 17:10 
GeneralRe: SQL tutorial Pin
firestoper18-Jul-07 17:24
firestoper18-Jul-07 17:24 
GeneralRe: SQL tutorial Pin
Sathesh Sakthivel18-Jul-07 17:27
Sathesh Sakthivel18-Jul-07 17:27 
AnswerRe: SQL tutorial Pin
Krish - KP18-Jul-07 17:25
Krish - KP18-Jul-07 17:25 
QuestionCan somebody write a stored proc for this problem please? Pin
rajugrover18-Jul-07 8:29
rajugrover18-Jul-07 8:29 
AnswerRe: Can somebody write a stored proc for this problem please? Pin
Colin Angus Mackay18-Jul-07 8:54
Colin Angus Mackay18-Jul-07 8:54 
GeneralRe: Can somebody write a stored proc for this problem please? Pin
originSH18-Jul-07 22:17
originSH18-Jul-07 22:17 
AnswerRe: Can somebody write a stored proc for this problem please? Pin
Pete O'Hanlon18-Jul-07 9:17
mvePete O'Hanlon18-Jul-07 9:17 
GeneralRe: Can somebody write a stored proc for this problem please? Pin
Paul Conrad18-Jul-07 9:38
professionalPaul Conrad18-Jul-07 9:38 
GeneralRe: Can somebody write a stored proc for this problem please? Pin
Pete O'Hanlon18-Jul-07 9:46
mvePete O'Hanlon18-Jul-07 9:46 

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.