Click here to Skip to main content
15,915,873 members
Home / Discussions / Database
   

Database

 
AnswerRe: check all values in select qry Pin
Colin Angus Mackay17-Jun-09 23:00
Colin Angus Mackay17-Jun-09 23:00 
GeneralRe: check all values in select qry Pin
kripa2117-Jun-09 23:30
kripa2117-Jun-09 23:30 
GeneralRe: check all values in select qry Pin
Colin Angus Mackay17-Jun-09 23:45
Colin Angus Mackay17-Jun-09 23:45 
GeneralRe: check all values in select qry Pin
kripa2118-Jun-09 0:00
kripa2118-Jun-09 0:00 
GeneralRe: check all values in select qry Pin
Colin Angus Mackay18-Jun-09 0:05
Colin Angus Mackay18-Jun-09 0:05 
GeneralRe: check all values in select qry Pin
kripa2118-Jun-09 0:14
kripa2118-Jun-09 0:14 
Question2 people create new record in datagridview on dataset, both save, last to save gets primary key violation - fix? Pin
sherifffruitfly17-Jun-09 13:57
sherifffruitfly17-Jun-09 13:57 
AnswerRe: 2 people create new record in datagridview on dataset, both save, last to save gets primary key violation - fix? Pin
Colin Angus Mackay17-Jun-09 14:47
Colin Angus Mackay17-Jun-09 14:47 
I generally avoid PK creation on the client-side. The database alone should be responsible for that. However, if that isn't possible, then my next preferred solution is to use a GUID. That way the two machines will generate different numbers.

Of course, your DBA may baulk at the use of GUIDs as the data will be inserted randomly (and since the PK is often the clustered index, that can slow the performance of the database if you are doing a lot of inserts or do searches on sequential [or near-sequential] ranges of PK values)
GeneralRe: 2 people create new record in datagridview on dataset, both save, last to save gets primary key violation - fix? Pin
sherifffruitfly17-Jun-09 14:51
sherifffruitfly17-Jun-09 14:51 
QuestionSQL Server Backup and Restore questions Pin
Hypermommy17-Jun-09 8:43
Hypermommy17-Jun-09 8:43 
AnswerRe: SQL Server Backup and Restore questions Pin
Colin Angus Mackay17-Jun-09 14:53
Colin Angus Mackay17-Jun-09 14:53 
GeneralRe: SQL Server Backup and Restore questions Pin
Hypermommy30-Jul-09 1:13
Hypermommy30-Jul-09 1:13 
Question"Make sure you have not released a resource before attempting to use it". HELP!!!! Pin
ChiSmile17-Jun-09 7:26
ChiSmile17-Jun-09 7:26 
AnswerRe: "Make sure you have not released a resource before attempting to use it". HELP!!!! Pin
Colin Angus Mackay17-Jun-09 15:01
Colin Angus Mackay17-Jun-09 15:01 
Questionvarchar Pin
zeeShan anSari17-Jun-09 4:03
zeeShan anSari17-Jun-09 4:03 
AnswerRe: varchar Pin
Tim Carmichael17-Jun-09 5:11
Tim Carmichael17-Jun-09 5:11 
AnswerRe: varchar Pin
Ashfield17-Jun-09 9:02
Ashfield17-Jun-09 9:02 
AnswerRe: varchar Pin
Niladri_Biswas17-Jun-09 20:37
Niladri_Biswas17-Jun-09 20:37 
QuestionColumns renaming Pin
jonhbt17-Jun-09 2:57
jonhbt17-Jun-09 2:57 
AnswerRe: Columns renaming Pin
Jerry Hammond17-Jun-09 5:20
Jerry Hammond17-Jun-09 5:20 
AnswerRe: Columns renaming Pin
Niladri_Biswas25-Jun-09 5:28
Niladri_Biswas25-Jun-09 5:28 
QuestionList values in vertically Pin
yesu prakash16-Jun-09 23:52
yesu prakash16-Jun-09 23:52 
AnswerRe: List values in vertically Pin
Mycroft Holmes17-Jun-09 0:00
professionalMycroft Holmes17-Jun-09 0:00 
GeneralRe: List values in vertically [modified] Pin
Niladri_Biswas17-Jun-09 7:34
Niladri_Biswas17-Jun-09 7:34 
GeneralRe: List values in vertically Pin
Mycroft Holmes17-Jun-09 12:39
professionalMycroft Holmes17-Jun-09 12:39 

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.