Click here to Skip to main content
15,916,189 members
Home / Discussions / Database
   

Database

 
AnswerRe: Executing BCP from C# code Pin
phimix19-Apr-06 1:03
phimix19-Apr-06 1:03 
QuestionSql Server Pin
Krishnatv18-Apr-06 0:53
Krishnatv18-Apr-06 0:53 
AnswerRe: Sql Server Pin
Colin Angus Mackay18-Apr-06 1:48
Colin Angus Mackay18-Apr-06 1:48 
GeneralThank u Pin
Krishnatv18-Apr-06 2:30
Krishnatv18-Apr-06 2:30 
QuestionProblem Printing Labels using SQL 2000 Reporting Services Pin
slave11e18-Apr-06 0:15
slave11e18-Apr-06 0:15 
AnswerRe: Problem Printing Labels using SQL 2000 Reporting Services Pin
Darpan Gogia18-Apr-06 23:18
Darpan Gogia18-Apr-06 23:18 
Questionsql table index (SQL2005) Pin
Sk8tzz17-Apr-06 23:43
Sk8tzz17-Apr-06 23:43 
AnswerRe: sql table index (SQL2005) Pin
Colin Angus Mackay17-Apr-06 23:59
Colin Angus Mackay17-Apr-06 23:59 
Sk8tzz wrote:
I know that sp_helpindex, will retrieve that information, but I want to do it through TSQL.


sp_helpindex is using TSQL. I suspect you mean you don't want to use a stored procedure?

You may want to take a look at the sysindexes[^] table. This will be the fastest way to retrieve the information you want - however, you'll have to join it to some of the other system tables to get the names of the columns and so on.




"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)

My: Website | Blog
GeneralRe: sql table index (SQL2005) Pin
Sk8tzz18-Apr-06 0:03
Sk8tzz18-Apr-06 0:03 
AnswerRe: sql table index (SQL2005) Pin
Eric Dahlvang19-Apr-06 3:59
Eric Dahlvang19-Apr-06 3:59 
AnswerRe: sql table index (SQL2005) Pin
Eric Dahlvang19-Apr-06 4:01
Eric Dahlvang19-Apr-06 4:01 
GeneralRe: sql table index (SQL2005) Pin
Sk8tzz19-Apr-06 18:59
Sk8tzz19-Apr-06 18:59 
Questionintegrating 2 sql results Pin
dansoft17-Apr-06 18:21
dansoft17-Apr-06 18:21 
AnswerRe: integrating 2 sql results Pin
Colin Angus Mackay17-Apr-06 20:50
Colin Angus Mackay17-Apr-06 20:50 
GeneralRe: integrating 2 sql results Pin
dansoft18-Apr-06 4:30
dansoft18-Apr-06 4:30 
GeneralRe: integrating 2 sql results Pin
Darpan Gogia18-Apr-06 23:24
Darpan Gogia18-Apr-06 23:24 
GeneralRe: integrating 2 sql results Pin
dansoft19-Apr-06 2:40
dansoft19-Apr-06 2:40 
GeneralRe: integrating 2 sql results Pin
Darpan Gogia19-Apr-06 2:42
Darpan Gogia19-Apr-06 2:42 
GeneralRe: integrating 2 sql results Pin
dansoft19-Apr-06 2:55
dansoft19-Apr-06 2:55 
GeneralRe: integrating 2 sql results Pin
Darpan Gogia19-Apr-06 3:00
Darpan Gogia19-Apr-06 3:00 
GeneralRe: integrating 2 sql results Pin
dansoft19-Apr-06 3:11
dansoft19-Apr-06 3:11 
QuestionRe: integrating 2 sql results Pin
dansoft19-Apr-06 3:40
dansoft19-Apr-06 3:40 
AnswerRe: integrating 2 sql results Pin
Darpan Gogia19-Apr-06 3:56
Darpan Gogia19-Apr-06 3:56 
GeneralRe: integrating 2 sql results Pin
dansoft19-Apr-06 4:19
dansoft19-Apr-06 4:19 
GeneralRe: integrating 2 sql results Pin
dansoft19-Apr-06 6:03
dansoft19-Apr-06 6:03 

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.