Click here to Skip to main content
15,915,703 members
Home / Discussions / Database
   

Database

 
AnswerRe: insertion and deletion at the same time Pin
Vimalsoft(Pty) Ltd16-Jun-09 22:39
professionalVimalsoft(Pty) Ltd16-Jun-09 22:39 
GeneralRe: insertion and deletion at the same time Pin
Isaac Gordon17-Jun-09 0:01
Isaac Gordon17-Jun-09 0:01 
GeneralRe: insertion and deletion at the same time Pin
shankbond17-Jun-09 2:14
shankbond17-Jun-09 2:14 
GeneralRe: insertion and deletion at the same time Pin
Isaac Gordon18-Jun-09 1:57
Isaac Gordon18-Jun-09 1:57 
QuestionHelp Required on the SQL Script... Pin
Jay_se16-Jun-09 7:45
Jay_se16-Jun-09 7:45 
AnswerRe: Help Required on the SQL Script... Pin
David Mujica16-Jun-09 8:49
David Mujica16-Jun-09 8:49 
QuestionRe: Help Required on the SQL Script... Pin
Jay_se16-Jun-09 15:56
Jay_se16-Jun-09 15:56 
AnswerRead System Tables Pin
David Mujica17-Jun-09 3:09
David Mujica17-Jun-09 3:09 
I think you want to access system tables that will allow you to get the names of columns for a given table.

For example, the following will give you a listing of all of the columns for "myTable1". You could then expand this query to join to your other tables.

Use myDatabase
GO

select so.name,sc.name 
from sysobjects so, syscolumns sc 
where so.xtype = 'U' 
  and so.name = 'myTable1' 
  and so.id = sc.id


Tell me if this helps you.
GeneralRe: Read System Tables Pin
Jay_se17-Jun-09 5:03
Jay_se17-Jun-09 5:03 
AnswerRe: Help Required on the SQL Script... Pin
Blue_Boy16-Jun-09 12:14
Blue_Boy16-Jun-09 12:14 
GeneralRe: Help Required on the SQL Script... Pin
Jay_se16-Jun-09 15:59
Jay_se16-Jun-09 15:59 
AnswerRe: Help Required on the SQL Script... Pin
Niladri_Biswas16-Jun-09 23:23
Niladri_Biswas16-Jun-09 23:23 
AnswerRe: Help Required on the SQL Script... Pin
Jay_se17-Jun-09 4:54
Jay_se17-Jun-09 4:54 
GeneralRe: Help Required on the SQL Script... Pin
Niladri_Biswas17-Jun-09 6:18
Niladri_Biswas17-Jun-09 6:18 
QuestionAnother SQL/Stored Proc ? Pin
enipla16-Jun-09 6:07
enipla16-Jun-09 6:07 
AnswerTry the update statement outside the Stored Proc Pin
David Mujica16-Jun-09 7:42
David Mujica16-Jun-09 7:42 
GeneralRe: Try the update statement outside the Stored Proc Pin
enipla16-Jun-09 7:46
enipla16-Jun-09 7:46 
GeneralGood to hear Pin
David Mujica16-Jun-09 8:51
David Mujica16-Jun-09 8:51 
Questionadvance search query result? Pin
kripa2115-Jun-09 21:37
kripa2115-Jun-09 21:37 
AnswerRe: advance search query result? Pin
Niladri_Biswas17-Jun-09 20:47
Niladri_Biswas17-Jun-09 20:47 
GeneralRe: advance search query result? Pin
kripa2117-Jun-09 22:25
kripa2117-Jun-09 22:25 
AnswerRe: advance search query result? [modified] Pin
Niladri_Biswas25-Jun-09 3:02
Niladri_Biswas25-Jun-09 3:02 
GeneralRe: advance search query result? Pin
kripa2125-Jun-09 22:41
kripa2125-Jun-09 22:41 
GeneralRe: advance search query result? [modified] Pin
Niladri_Biswas27-Jun-09 19:11
Niladri_Biswas27-Jun-09 19:11 
GeneralRe: advance search query result? Pin
kripa2128-Jun-09 20:39
kripa2128-Jun-09 20:39 

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.