Click here to Skip to main content
15,902,492 members
Home / Discussions / Database
   

Database

 
GeneralRe: check constrain on colum Pin
merwa1-Jul-07 3:39
merwa1-Jul-07 3:39 
GeneralRe: check constrain on colum Pin
Gamzun1-Jul-07 3:44
Gamzun1-Jul-07 3:44 
QuestionHow to apply Unique Constraints ? Pin
Gamzun30-Jun-07 21:29
Gamzun30-Jun-07 21:29 
QuestionSQL SMO Fast way to get primary key column from a table Pin
Polymorpher30-Jun-07 15:19
Polymorpher30-Jun-07 15:19 
AnswerRe: SQL SMO Fast way to get primary key column from a table Pin
Sathesh Sakthivel30-Jun-07 15:21
Sathesh Sakthivel30-Jun-07 15:21 
GeneralRe: SQL SMO Fast way to get primary key column from a table Pin
Polymorpher30-Jun-07 15:33
Polymorpher30-Jun-07 15:33 
AnswerRe: SQL SMO Fast way to get primary key column from a table Pin
originSH2-Jul-07 3:57
originSH2-Jul-07 3:57 
GeneralRe: SQL SMO Fast way to get primary key column from a table Pin
Polymorpher2-Jul-07 8:49
Polymorpher2-Jul-07 8:49 
The fastest way i have found so far is by extending your idea slightly:
<br />
            If tbl.Indexes.Count > 0 Then<br />
                If tbl.Indexes(0).IndexedColumns.Count > 0 Then<br />
                    Return tbl.Indexes(0).IndexedColumns(0).Name<br />
                End If<br />
            End If<br />


Apparently it's not OK to start a bonfire of Microsoft products in the aisles of CompUSA even though the Linuxrulz web site says so

QuestionGenerate event from database... or something like that... Pin
yarns29-Jun-07 22:02
yarns29-Jun-07 22:02 
AnswerRe: Generate event from database... or something like that... Pin
Bassam Saoud29-Jun-07 22:09
Bassam Saoud29-Jun-07 22:09 
GeneralRe: Generate event from database... or something like that... Pin
yarns29-Jun-07 23:38
yarns29-Jun-07 23:38 
GeneralRe: Generate event from database... or something like that... Pin
Bassam Saoud29-Jun-07 23:44
Bassam Saoud29-Jun-07 23:44 
GeneralRe: Generate event from database... or something like that... Pin
yarns29-Jun-07 23:54
yarns29-Jun-07 23:54 
GeneralRe: Generate event from database... or something like that... Pin
yarns30-Jun-07 0:05
yarns30-Jun-07 0:05 
GeneralRe: Generate event from database... or something like that... Pin
Christian Graus30-Jun-07 0:28
protectorChristian Graus30-Jun-07 0:28 
GeneralRe: Generate event from database... or something like that... Pin
yarns30-Jun-07 0:46
yarns30-Jun-07 0:46 
GeneralRe: Generate event from database... or something like that... Pin
Christian Graus30-Jun-07 15:50
protectorChristian Graus30-Jun-07 15:50 
GeneralRe: Generate event from database... or something like that... Pin
Sathesh Sakthivel30-Jun-07 16:31
Sathesh Sakthivel30-Jun-07 16:31 
AnswerRe: Generate event from database... or something like that... Pin
Rob Graham30-Jun-07 4:02
Rob Graham30-Jun-07 4:02 
QuestionHow can i select all tables from a database Pin
anujose29-Jun-07 20:58
anujose29-Jun-07 20:58 
AnswerRe: How can i select all tables from a database Pin
Bassam Saoud29-Jun-07 22:04
Bassam Saoud29-Jun-07 22:04 
QuestionREQUEST Pin
NAKRAINC29-Jun-07 18:26
NAKRAINC29-Jun-07 18:26 
AnswerRe: REQUEST Pin
Bassam Saoud29-Jun-07 22:05
Bassam Saoud29-Jun-07 22:05 
AnswerRe: REQUEST Pin
Christian Graus30-Jun-07 0:35
protectorChristian Graus30-Jun-07 0:35 
Questioninstaller with dataBase Pin
Ali el29-Jun-07 6:57
Ali el29-Jun-07 6:57 

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.