Click here to Skip to main content
15,912,400 members
Home / Discussions / Database
   

Database

 
GeneralRe: the opposite of 'Safe' Pin
PIEBALDconsult9-Feb-11 15:16
mvePIEBALDconsult9-Feb-11 15:16 
GeneralRe: the opposite of 'Safe' Pin
Richard MacCutchan9-Feb-11 23:01
mveRichard MacCutchan9-Feb-11 23:01 
GeneralRe: the opposite of 'Safe' Pin
Ali Al Omairi(Abu AlHassan)11-Feb-11 13:50
professionalAli Al Omairi(Abu AlHassan)11-Feb-11 13:50 
GeneralRe: the opposite of 'Safe' Pin
thatraja10-Feb-11 14:28
professionalthatraja10-Feb-11 14:28 
GeneralRe: the opposite of 'Safe' Pin
Ali Al Omairi(Abu AlHassan)11-Feb-11 4:29
professionalAli Al Omairi(Abu AlHassan)11-Feb-11 4:29 
GeneralRe: the opposite of 'Safe' Pin
thatraja11-Feb-11 4:36
professionalthatraja11-Feb-11 4:36 
GeneralRe: the opposite of 'Safe' Pin
Ali Al Omairi(Abu AlHassan)11-Feb-11 12:57
professionalAli Al Omairi(Abu AlHassan)11-Feb-11 12:57 
QuestionGetting Constraint Names through ADO Pin
kmoorevs9-Feb-11 10:23
kmoorevs9-Feb-11 10:23 
I have a SQL database column that was orignally declared with a not null constraint. (using alter table add column) Turns out, the column needs to be nullable to keep from breaking legacy apps. Should be easy, use alter statement to change to all not null, right? Not. This throws an error complaining that "The object 'xxxx' is dependent on column 'columnName'". So I looked it up in SSMS and there it is under constraints with what appears to be a generated name. This is a distributed application, so I am thinking that the constraint name is not guaranteed to be the same. OK then, just use ADOX or OpenSchema to get the offending constraint name. After googling and trying different approaches for about an hour, and not finding anything that worked, (and getting pretty disgusted in the process) it ocurred to me that the name of the constraint is reported back in the error description, always between the first two quotes! It was right there the whole time! Extracted the name, ran the alter table drop constraint statement, then was able to alter the column to not null. This approach should work regardless of the locale.
AnswerRe: Getting Constraint Names through ADO Pin
Ali Al Omairi(Abu AlHassan)9-Feb-11 11:43
professionalAli Al Omairi(Abu AlHassan)9-Feb-11 11:43 
QuestionGetting a numbered list to come out of ORDER BY just right -- ANSWERED THANK YOU Pin
Brian C Hart9-Feb-11 9:16
professionalBrian C Hart9-Feb-11 9:16 
AnswerRe: Getting a numbered list to come out of ORDER BY just right Pin
David Mujica9-Feb-11 9:32
David Mujica9-Feb-11 9:32 
GeneralRe: Getting a numbered list to come out of ORDER BY just right Pin
Brian C Hart9-Feb-11 9:45
professionalBrian C Hart9-Feb-11 9:45 
AnswerRe: Getting a numbered list to come out of ORDER BY just right Pin
Chris Meech9-Feb-11 9:50
Chris Meech9-Feb-11 9:50 
GeneralRe: Getting a numbered list to come out of ORDER BY just right Pin
Brian C Hart9-Feb-11 10:00
professionalBrian C Hart9-Feb-11 10:00 
QuestionDynamic query in SQL Pin
siva4558-Feb-11 22:11
siva4558-Feb-11 22:11 
AnswerRe: Dynamic query in SQL Pin
Simon_Whale8-Feb-11 22:19
Simon_Whale8-Feb-11 22:19 
AnswerRe: Dynamic query in SQL Pin
Dalek Dave9-Feb-11 13:07
professionalDalek Dave9-Feb-11 13:07 
QuestionUnwanted recordset behaviour !!! Pin
scorp_scorp7-Feb-11 21:20
scorp_scorp7-Feb-11 21:20 
AnswerRe: Unwanted recordset behaviour !!! Pin
Mycroft Holmes7-Feb-11 22:26
professionalMycroft Holmes7-Feb-11 22:26 
GeneralRe: Unwanted recordset behaviour !!! [modified] Pin
scorp_scorp7-Feb-11 23:16
scorp_scorp7-Feb-11 23:16 
GeneralRe: Unwanted recordset behaviour !!! Pin
Mycroft Holmes8-Feb-11 2:45
professionalMycroft Holmes8-Feb-11 2:45 
QuestionRe: Unwanted recordset behaviour !!! Pin
Chris Meech8-Feb-11 2:37
Chris Meech8-Feb-11 2:37 
AnswerRe: Unwanted recordset behaviour !!! Pin
Mycroft Holmes8-Feb-11 2:44
professionalMycroft Holmes8-Feb-11 2:44 
QuestionRe: Unwanted recordset behaviour !!! Pin
Chris Meech8-Feb-11 2:40
Chris Meech8-Feb-11 2:40 
QuestionRe: Unwanted recordset behaviour !!! [modified] Pin
scorp_scorp8-Feb-11 16:26
scorp_scorp8-Feb-11 16:26 

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.