Click here to Skip to main content
15,922,696 members
Home / Discussions / Database
   

Database

 
Questionhow to read the header row in excel file? Pin
qqworm2-Jul-05 22:31
qqworm2-Jul-05 22:31 
GeneralI can not login to SQL server 2000 in case... Pin
dhtuan2-Jul-05 17:04
dhtuan2-Jul-05 17:04 
GeneralRe: I can not login to SQL server 2000 in case... Pin
RajithCAlwis3-Jul-05 20:36
RajithCAlwis3-Jul-05 20:36 
GeneralMicrosoft Access password Pin
sasan562-Jul-05 11:01
sasan562-Jul-05 11:01 
GeneralRe: Microsoft Access password Pin
RajithCAlwis3-Jul-05 20:34
RajithCAlwis3-Jul-05 20:34 
QuestionHow to avoid double Rows Pin
gharryh2-Jul-05 10:39
gharryh2-Jul-05 10:39 
AnswerRe: How to avoid double Rows Pin
toxcct3-Jul-05 20:37
toxcct3-Jul-05 20:37 
GeneralRe: How to avoid double Rows Pin
gharryh4-Jul-05 2:56
gharryh4-Jul-05 2:56 
GeneralRe: How to avoid double Rows Pin
gharryh4-Jul-05 5:01
gharryh4-Jul-05 5:01 
GeneralPuzzles me how to check a columns value Pin
gharryh1-Jul-05 10:49
gharryh1-Jul-05 10:49 
GeneralRe: Puzzles me how to check a columns value Pin
Christian Graus1-Jul-05 20:25
protectorChristian Graus1-Jul-05 20:25 
GeneralRe: Puzzles me how to check a columns value Pin
gharryh1-Jul-05 21:31
gharryh1-Jul-05 21:31 
GeneralRe: Puzzles me how to check a columns value Pin
Christian Graus1-Jul-05 21:58
protectorChristian Graus1-Jul-05 21:58 
GeneralRe: Puzzles me how to check a columns value Pin
gharryh1-Jul-05 23:34
gharryh1-Jul-05 23:34 
GeneralRe: Puzzles me how to check a columns value Pin
Christian Graus3-Jul-05 11:23
protectorChristian Graus3-Jul-05 11:23 
GeneralRe: Puzzles me how to check a columns value Pin
gharryh3-Jul-05 20:08
gharryh3-Jul-05 20:08 
GeneralRe: Puzzles me how to check a columns value Pin
Christian Graus4-Jul-05 13:10
protectorChristian Graus4-Jul-05 13:10 
GeneralRe: Puzzles me how to check a columns value Pin
toxcct1-Jul-05 21:32
toxcct1-Jul-05 21:32 
GeneralRe: Puzzles me how to check a columns value Pin
toxcct1-Jul-05 21:35
toxcct1-Jul-05 21:35 
GeneralRe: Puzzles me how to check a columns value Pin
gharryh1-Jul-05 23:29
gharryh1-Jul-05 23:29 
Questionhow can i change an identity seed of a colomn via transact sql Pin
m.rastgar1-Jul-05 7:58
m.rastgar1-Jul-05 7:58 
AnswerRe: how can i change an identity seed of a colomn via transact sql Pin
Scott Serl1-Jul-05 10:57
Scott Serl1-Jul-05 10:57 
I don't think you can change the seed of a column. You must drop the column (in an alter table statement) and recreate it with the new seed and increment. Of coarse, you must first drop the relationships before you can drop the column.
1. use ALTER TABLE to delete the foreign key relationship in the other table
2. drop the identity column using ALTER TABLE
3. add the identity column back with the seed and increment you want using ALTER TABLE
4. add the relationship back into the other table using ALTER TABLE
Not a pleasant operation. In general, it is not good to use an identity column if you are expecting particular values; it might be better to design a stored procedure to generate the values you want, and put them in an ordinary int column with a UNIQUE constraint.
GeneralMS SQL 2000 Server database Pin
phokojoe1-Jul-05 6:01
phokojoe1-Jul-05 6:01 
GeneralRe: MS SQL 2000 Server database Pin
Yulianto.1-Jul-05 17:07
Yulianto.1-Jul-05 17:07 
GeneralRe: MS SQL 2000 Server database Pin
phokojoe3-Jul-05 21:52
phokojoe3-Jul-05 21:52 

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.