Click here to Skip to main content
15,891,136 members
Home / Discussions / Database
   

Database

 
QuestionUpdatoing .NET Framework version Pin
Kaikus25-Jan-10 22:14
Kaikus25-Jan-10 22:14 
AnswerRe: Updatoing .NET Framework version Pin
David Skelly25-Jan-10 22:25
David Skelly25-Jan-10 22:25 
AnswerRe: Updatoing .NET Framework version Pin
Luc Pattyn26-Jan-10 1:25
sitebuilderLuc Pattyn26-Jan-10 1:25 
Questioncalculate age in stored procedure Pin
Jassim Rahma25-Jan-10 11:46
Jassim Rahma25-Jan-10 11:46 
AnswerRe: calculate age in stored procedure Pin
Mycroft Holmes25-Jan-10 12:10
professionalMycroft Holmes25-Jan-10 12:10 
AnswerRe: calculate age in stored procedure Pin
Pranay Rana25-Jan-10 20:07
professionalPranay Rana25-Jan-10 20:07 
AnswerRe: calculate age in stored procedure Pin
Pranay Rana25-Jan-10 20:24
professionalPranay Rana25-Jan-10 20:24 
QuestionSQL Server Unique/NonUnique Key Pin
Dirso25-Jan-10 1:04
Dirso25-Jan-10 1:04 
Hi,
To get the unique keys from a given table, i use a sql statement like this: Select [COLUMN_NAME] as FieldName, [CONSTRAINT_NAME] as KeyName, [ORDINAL_POSITION] as Ordinal FROM [INFORMATION_SCHEMA].[KEY_COLUMN_USAGE] WHERE TABLE_SCHEMA=@schema AND TABLE_NAME=@table AND CONSTRAINT_NAME LIKE "IX_%" ORDER BY [CONSTRAINT_NAME], [ORDINAL_POSITION]
First of all, it waorks fine, but I don't like the idea of selecting it by the name, but it was the only solution I found... For now it works, so if it's the only way, I'll live with it Wink | ;)
My main problem is that I didn't find any [INFORMATION_SCHEMA] table where the NonUnique keys are stored, but it has to be somewhere, right? Any ideas about it?

Thanks,
Dirso

AnswerRe: SQL Server Unique/NonUnique Key Pin
Mycroft Holmes25-Jan-10 12:06
professionalMycroft Holmes25-Jan-10 12:06 
AnswerRe: SQL Server Unique/NonUnique Key Pin
David Skelly25-Jan-10 22:38
David Skelly25-Jan-10 22:38 
AnswerRe: SQL Server Unique/NonUnique Key Pin
Dirso27-Jan-10 6:59
Dirso27-Jan-10 6:59 
QuestionSQL Server 2000 connectivity issue [fixed] Pin
SarahMcM24-Jan-10 18:56
SarahMcM24-Jan-10 18:56 
AnswerRe: SQL Server 2000 connectivity issue [fixed] Pin
Corporal Agarn25-Jan-10 4:21
professionalCorporal Agarn25-Jan-10 4:21 
QuestionTITLE: The Secret $5680 in 24 Hour Strategy Pin
BILAL 200923-Jan-10 3:06
BILAL 200923-Jan-10 3:06 
Questionalter table Pin
FEMDEV22-Jan-10 3:56
FEMDEV22-Jan-10 3:56 
AnswerRe: alter table Pin
Bassam Saoud22-Jan-10 5:01
Bassam Saoud22-Jan-10 5:01 
GeneralRe: alter table Pin
FEMDEV22-Jan-10 5:42
FEMDEV22-Jan-10 5:42 
GeneralRe: alter table Pin
loyal ginger22-Jan-10 6:28
loyal ginger22-Jan-10 6:28 
GeneralRe: alter table Pin
FEMDEV25-Jan-10 2:06
FEMDEV25-Jan-10 2:06 
QuestionBACKUP DATABASE command Pin
ednrg22-Jan-10 2:18
ednrg22-Jan-10 2:18 
AnswerRe: BACKUP DATABASE command Pin
Covean22-Jan-10 3:38
Covean22-Jan-10 3:38 
GeneralRe: BACKUP DATABASE command Pin
ednrg22-Jan-10 9:00
ednrg22-Jan-10 9:00 
QuestionMySQL Pin
Muammar©22-Jan-10 0:50
Muammar©22-Jan-10 0:50 
AnswerRe: MySQL Pin
Muammar©22-Jan-10 3:39
Muammar©22-Jan-10 3:39 
AnswerRe: MySQL Pin
loyal ginger22-Jan-10 4:24
loyal ginger22-Jan-10 4:24 

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.