Click here to Skip to main content
15,949,686 members
Home / Discussions / Database
   

Database

 
GeneralProblem in using OleDbDataReader Pin
sivaramakrishna5-Nov-03 22:14
sivaramakrishna5-Nov-03 22:14 
GeneralRe: Problem in using OleDbDataReader Pin
Mike Dimmick6-Nov-03 2:32
Mike Dimmick6-Nov-03 2:32 
GeneralRe: Problem in using OleDbDataReader Pin
sivaramakrishna7-Nov-03 19:06
sivaramakrishna7-Nov-03 19:06 
Generaldbo Pin
Hugo Hallman5-Nov-03 12:19
Hugo Hallman5-Nov-03 12:19 
GeneralSQL! Pin
Silly Boy5-Nov-03 6:18
Silly Boy5-Nov-03 6:18 
GeneralRe: SQL! Pin
Jeff Varszegi5-Nov-03 7:34
professionalJeff Varszegi5-Nov-03 7:34 
GeneralRe: SQL! Pin
andyharman5-Nov-03 11:49
professionalandyharman5-Nov-03 11:49 
GeneralEncoding problem using ADO Stream Pin
Firas Rashid4-Nov-03 2:59
Firas Rashid4-Nov-03 2:59 
GeneralAlternative SQL Queries based on Table Data Pin
Jo Fredrickson3-Nov-03 21:58
Jo Fredrickson3-Nov-03 21:58 
GeneralRe: Alternative SQL Queries based on Table Data Pin
andyharman5-Nov-03 11:35
professionalandyharman5-Nov-03 11:35 
GeneralRe: Alternative SQL Queries based on Table Data Pin
Jo Fredrickson5-Nov-03 14:59
Jo Fredrickson5-Nov-03 14:59 
GeneralMSADO 2.5 Pin
Kant3-Nov-03 15:46
Kant3-Nov-03 15:46 
GeneralRe: MSADO 2.5 Pin
Mike Dimmick5-Nov-03 1:51
Mike Dimmick5-Nov-03 1:51 
GeneralRe: MSADO 2.5 Pin
Kant5-Nov-03 5:01
Kant5-Nov-03 5:01 
GeneralFULL LEFT/RIGHT JOIN Pin
devvvy3-Nov-03 12:53
devvvy3-Nov-03 12:53 
GeneralRe: FULL LEFT/RIGHT JOIN Pin
Jeff Varszegi3-Nov-03 14:28
professionalJeff Varszegi3-Nov-03 14:28 
GeneralRe: FULL LEFT/RIGHT JOIN Pin
devvvy3-Nov-03 14:30
devvvy3-Nov-03 14:30 
GeneralTrouble Running Sql Script from Code Pin
perlmunger3-Nov-03 11:42
perlmunger3-Nov-03 11:42 
GeneralRe: Trouble Running Sql Script from Code Pin
Jeff Varszegi3-Nov-03 14:54
professionalJeff Varszegi3-Nov-03 14:54 
GeneralRe: Trouble Running Sql Script from Code Pin
perlmunger4-Nov-03 3:58
perlmunger4-Nov-03 3:58 
GeneralRe: Trouble Running Sql Script from Code Pin
Jeff Varszegi4-Nov-03 4:03
professionalJeff Varszegi4-Nov-03 4:03 
GeneralRe: Trouble Running Sql Script from Code Pin
perlmunger4-Nov-03 4:54
perlmunger4-Nov-03 4:54 
GeneralRe: Trouble Running Sql Script from Code Pin
Jeff Varszegi4-Nov-03 5:38
professionalJeff Varszegi4-Nov-03 5:38 
GeneralRe: Trouble Running Sql Script from Code Pin
perlmunger4-Nov-03 6:55
perlmunger4-Nov-03 6:55 
GeneralIdentity Seeds Pin
Colin Angus Mackay3-Nov-03 6:56
Colin Angus Mackay3-Nov-03 6:56 
Hello,

I am currently building a script to populate a database with an initial set of data. As the database will potentially be brand new (but may not be) when the scripts are run I want to find a way to set the value the next insert will put in an identity column after the initial set of records are in. If the database is brand new I don't want new records overwriting or causing problems with the initial set. If the database was previously populated the values are deleted and the initial set is re-inserted, but in this case I don't want the new records to be placed with IDs too far removed from the IDs used in the initial set.

I am fairly certain it can be done, but after trawling through the docs I can't seem to find what I am looking for - The initial value can be set when the table is created, but I'm doing that after the table is created.

Any ideas?



--Colin Mackay--

"In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown)


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.