Click here to Skip to main content
15,897,273 members
Home / Discussions / Database
   

Database

 
GeneralRe: Can you tell how to Sort in Oracle DB? Pin
openboy201030-Dec-10 13:58
openboy201030-Dec-10 13:58 
QuestionBest practices design Pin
vanikanc29-Dec-10 7:35
vanikanc29-Dec-10 7:35 
AnswerRe: Best practices design Pin
Henry Minute29-Dec-10 8:05
Henry Minute29-Dec-10 8:05 
AnswerRe: Best practices design Pin
Jörgen Andersson29-Dec-10 8:20
professionalJörgen Andersson29-Dec-10 8:20 
QuestionTaking Database backup for every 4 hrs in SSIS Pin
vinu.111128-Dec-10 18:13
vinu.111128-Dec-10 18:13 
AnswerRe: Taking Database backup for every 4 hrs in SSIS Pin
Simon_Whale29-Dec-10 3:16
Simon_Whale29-Dec-10 3:16 
QuestionQuery at database level Pin
vanikanc28-Dec-10 8:03
vanikanc28-Dec-10 8:03 
AnswerRe: Query at database level Pin
Hiren solanki28-Dec-10 19:23
Hiren solanki28-Dec-10 19:23 
AFAIK It's not implicitly possible with T-SQL as Particular index information is not stored globally, It's in corresponding DB.

But there's some suggestion that you may apply to get.

a) Get name of all the database in Server

SQL
select name from master.dbo.sysdatabases


b) Take database one by one from the above query result and make a custom query and execute it using EXEC statement.

Like

SQL
Use --Name database name one by one
select t.name, i.name
from sys.tables t, sys.indexes i
where i.object_id = t.object_id


c) Store each result in one temperory table with the required column.
d) Finally SELECT * FROM #Temptable

I Hope you are getting me.
Regards,
Hiren.
My Recent Article: - Way to know which control have raised a postback
My Recent Tip/Trick: - The ?? Operator.

GeneralRe: Query at database level Pin
vanikanc29-Dec-10 2:35
vanikanc29-Dec-10 2:35 
AnswerRe: Query at database level Pin
Hiren solanki29-Dec-10 2:44
Hiren solanki29-Dec-10 2:44 
GeneralRe: Query at database level Pin
jschell29-Dec-10 5:37
jschell29-Dec-10 5:37 
GeneralRe: Query at database level Pin
Hiren solanki29-Dec-10 19:18
Hiren solanki29-Dec-10 19:18 
AnswerRe: Query at database level Pin
Terry Reardon30-Dec-10 7:00
Terry Reardon30-Dec-10 7:00 
AnswerRe: Query at database level Pin
Henry Minute29-Dec-10 4:24
Henry Minute29-Dec-10 4:24 
AnswerRe: Query at database level [modified] Pin
senthil raja . j29-Dec-10 17:40
senthil raja . j29-Dec-10 17:40 
GeneralRe: Query at database level Pin
Hiren solanki29-Dec-10 18:56
Hiren solanki29-Dec-10 18:56 
Questionbackup database not working Pin
MrBatra28-Dec-10 4:24
MrBatra28-Dec-10 4:24 
AnswerRe: backup database not working Pin
thatraja28-Dec-10 18:36
professionalthatraja28-Dec-10 18:36 
GeneralRe: backup database not working Pin
MrBatra29-Dec-10 3:42
MrBatra29-Dec-10 3:42 
AnswerRe: backup database not working Pin
Hiren solanki28-Dec-10 18:41
Hiren solanki28-Dec-10 18:41 
GeneralRe: backup database not working Pin
MrBatra29-Dec-10 3:43
MrBatra29-Dec-10 3:43 
QuestionTables records deleted !!! Pin
devboycpp28-Dec-10 3:39
devboycpp28-Dec-10 3:39 
QuestionRe: Tables records deleted !!! Pin
badprog28-Dec-10 4:06
badprog28-Dec-10 4:06 
AnswerRe: Tables records deleted !!! Pin
devboycpp28-Dec-10 4:39
devboycpp28-Dec-10 4:39 
GeneralRe: Tables records deleted !!! Pin
MrBatra28-Dec-10 4:48
MrBatra28-Dec-10 4:48 

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.