Click here to Skip to main content
15,792,771 members
Home / Discussions / Database
   

Database

 
AnswerRe: SQLServer problem! Pin
Jim Conigliaro13-Jun-06 2:46
Jim Conigliaro13-Jun-06 2:46 
GeneralRe: SQLServer problem! Pin
andrei_dalcu13-Jun-06 2:48
andrei_dalcu13-Jun-06 2:48 
GeneralRe: SQLServer problem! Pin
Jim Conigliaro13-Jun-06 4:37
Jim Conigliaro13-Jun-06 4:37 
Questionsqlserver prob Pin
vivek-g12-Jun-06 22:07
vivek-g12-Jun-06 22:07 
AnswerRe: sqlserver prob Pin
Colin Angus Mackay13-Jun-06 0:38
Colin Angus Mackay13-Jun-06 0:38 
Question50 Tables(Urgent) Pin
kirthikirthi12-Jun-06 21:04
kirthikirthi12-Jun-06 21:04 
AnswerRe: 50 Tables(Urgent) Pin
Michael P Butler12-Jun-06 22:06
Michael P Butler12-Jun-06 22:06 
AnswerRe: 50 Tables(Urgent) Pin
r.stropek12-Jun-06 22:21
r.stropek12-Jun-06 22:21 
Hi!

You can generate the query you need using the following SQL-Statement:
select 'select [name], [year], [date] from '+table_schema+'.'
       +table_name+' union all '
       from INFORMATION_SCHEMA.TABLES

Execute this statement with result type = text, copy the result to a new query windoe and delete the last "union all". It will give you a union all of all your tables -> your 50 tables combined into one.

Hope this helps.

Regards,
Rainer


Rainer Stropek
Visit my blog at http://www.cubido.at/rainers
GeneralRe: 50 Tables(Urgent) Pin
kirthikirthi12-Jun-06 23:07
kirthikirthi12-Jun-06 23:07 
GeneralRe: 50 Tables(Urgent) Pin
r.stropek12-Jun-06 23:25
r.stropek12-Jun-06 23:25 
GeneralRe: 50 Tables(Urgent) Pin
Mahesh Sapre14-Jun-06 2:43
Mahesh Sapre14-Jun-06 2:43 
QuestionWhy I am getting the error message Server: Msg 245 Pin
kalyan_vb12-Jun-06 11:27
kalyan_vb12-Jun-06 11:27 
AnswerRe: Why I am getting the error message Server: Msg 245 Pin
Colin Angus Mackay12-Jun-06 12:44
Colin Angus Mackay12-Jun-06 12:44 
GeneralRe: Why I am getting the error message Server: Msg 245 [modified] Pin
kalyan_vb12-Jun-06 13:26
kalyan_vb12-Jun-06 13:26 
AnswerRe: Why I am getting the error message Server: Msg 245 Pin
Colin Angus Mackay12-Jun-06 13:45
Colin Angus Mackay12-Jun-06 13:45 
AnswerRe: Why I am getting the error message Server: Msg 245 Pin
r.stropek12-Jun-06 22:28
r.stropek12-Jun-06 22:28 
Questionrequired help for sql query Pin
kalyan_vb12-Jun-06 6:25
kalyan_vb12-Jun-06 6:25 
AnswerRe: required help for sql query Pin
Eric Dahlvang12-Jun-06 8:41
Eric Dahlvang12-Jun-06 8:41 
AnswerRe: required help for sql query Pin
r.stropek13-Jun-06 5:09
r.stropek13-Jun-06 5:09 
QuestionDifferent Database Locations Pin
tadhg8812-Jun-06 2:28
tadhg8812-Jun-06 2:28 
AnswerRe: Different Database Locations Pin
Colin Angus Mackay12-Jun-06 2:42
Colin Angus Mackay12-Jun-06 2:42 
QuestionMS-SQL Query result to HTML (how?) Pin
spsharma12-Jun-06 0:15
spsharma12-Jun-06 0:15 
AnswerRe: MS-SQL Query result to HTML (how?) Pin
spsharma12-Jun-06 2:42
spsharma12-Jun-06 2:42 
AnswerRe: MS-SQL Query result to HTML (how?) Pin
vivek-g13-Jun-06 20:37
vivek-g13-Jun-06 20:37 
GeneralRe: MS-SQL Query result to HTML (how?) Pin
spsharma19-Jun-06 0:38
spsharma19-Jun-06 0:38 

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.