Click here to Skip to main content
15,886,919 members
Home / Discussions / Database
   

Database

 
GeneralRe: INSERT INTO two tables at once Pin
Support1233-Jan-08 20:40
Support1233-Jan-08 20:40 
GeneralRe: INSERT INTO two tables at once Pin
Dave Kreskowiak4-Jan-08 1:48
mveDave Kreskowiak4-Jan-08 1:48 
GeneralRe: INSERT INTO two tables at once Pin
john john mackey4-Jan-08 5:26
john john mackey4-Jan-08 5:26 
GeneralRe: INSERT INTO two tables at once Pin
Dave Kreskowiak4-Jan-08 5:58
mveDave Kreskowiak4-Jan-08 5:58 
GeneralRe: INSERT INTO two tables at once Pin
john john mackey4-Jan-08 7:27
john john mackey4-Jan-08 7:27 
GeneralRe: INSERT INTO two tables at once Pin
Dave Kreskowiak4-Jan-08 12:11
mveDave Kreskowiak4-Jan-08 12:11 
Questioncan somebody help me Pin
AVI512-Jan-08 22:45
AVI512-Jan-08 22:45 
AnswerRe: can somebody help me Pin
Colin Angus Mackay2-Jan-08 23:00
Colin Angus Mackay2-Jan-08 23:00 
AVI51 wrote:
i want to print the column names of a table,i know table name i dont know columns.


Since you posted this in the SQL forum, I am assuming that what you actually want is a way to get the column names out of the database rather than any particular presentation of the column names.

If you are using SQL Server (which you don't say) you can use the views in INFORMATION_SCHEMA

SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = @tableName


AnswerRe: can somebody help me Pin
Usharva3-Jan-08 23:05
Usharva3-Jan-08 23:05 
AnswerRe: can somebody help me Pin
Sunil Wise8-Jan-08 23:23
professionalSunil Wise8-Jan-08 23:23 
Generalhaving problem with some concepts ! Pin
mrkeivan2-Jan-08 21:28
mrkeivan2-Jan-08 21:28 
GeneralRe: having problem with some concepts ! Pin
Colin Angus Mackay2-Jan-08 23:08
Colin Angus Mackay2-Jan-08 23:08 
Generaloracle environment variable setting file Pin
richardye2-Jan-08 17:48
richardye2-Jan-08 17:48 
GeneralRe: oracle environment variable setting file Pin
Chris Meech3-Jan-08 6:29
Chris Meech3-Jan-08 6:29 
GeneralRe: oracle environment variable setting file Pin
richardye3-Jan-08 13:31
richardye3-Jan-08 13:31 
QuestionCan SQL Sver 2005 recevie emails with Insert statements? Pin
obymathew2-Jan-08 11:38
obymathew2-Jan-08 11:38 
AnswerRe: Can SQL Sver 2005 recevie emails with Insert statements? Pin
Colin Angus Mackay2-Jan-08 12:11
Colin Angus Mackay2-Jan-08 12:11 
GeneralRe: Can SQL Sver 2005 recevie emails with Insert statements? Pin
Mike Dimmick2-Jan-08 13:55
Mike Dimmick2-Jan-08 13:55 
GeneralRe: Can SQL Sver 2005 recevie emails with Insert statements? Pin
Colin Angus Mackay2-Jan-08 15:12
Colin Angus Mackay2-Jan-08 15:12 
AnswerRe: Can SQL Sver 2005 recevie emails with Insert statements? Pin
Mike Dimmick2-Jan-08 14:03
Mike Dimmick2-Jan-08 14:03 
Generalreading an array in sql server Pin
Member 30578871-Jan-08 23:15
Member 30578871-Jan-08 23:15 
GeneralRe: reading an array in sql server Pin
SimulationofSai2-Jan-08 0:09
SimulationofSai2-Jan-08 0:09 
GeneralRe: reading an array in sql server Pin
Michael Sync2-Jan-08 15:29
Michael Sync2-Jan-08 15:29 
Generalchange owner of objects Pin
amin_behzadi1-Jan-08 23:12
professionalamin_behzadi1-Jan-08 23:12 
GeneralRe: change owner of objects Pin
DotNetXenon2-Jan-08 10:36
DotNetXenon2-Jan-08 10:36 

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.