Click here to Skip to main content
15,890,579 members
Home / Discussions / Database
   

Database

 
AnswerRe: Connecting to a SQL database programmatically Pin
Rupesh Kumar Swami2-Mar-09 19:10
Rupesh Kumar Swami2-Mar-09 19:10 
AnswerRe: Connecting to a SQL database programmatically Pin
Eddy Vluggen3-Mar-09 4:38
professionalEddy Vluggen3-Mar-09 4:38 
QuestionLogging both text and numbers Pin
User 127822-Mar-09 17:01
User 127822-Mar-09 17:01 
AnswerRe: Logging both text and numbers Pin
Eddy Vluggen3-Mar-09 4:41
professionalEddy Vluggen3-Mar-09 4:41 
QuestionVC++ 6 and excel cant read anything other than text formatted cell Pin
RDEPTYLTD2-Mar-09 12:03
RDEPTYLTD2-Mar-09 12:03 
QuestionGetting TableName in DataSet/DataTable from SP Pin
Maxim Langman2-Mar-09 11:21
Maxim Langman2-Mar-09 11:21 
AnswerRe: Getting TableName in DataSet/DataTable from SP Pin
ya3mro10-Nov-09 20:26
ya3mro10-Nov-09 20:26 
AnswerRe: Getting TableName in DataSet/DataTable from SP Pin
sharad487-Dec-09 20:46
sharad487-Dec-09 20:46 
CREATE PROCEDURE MyProc AS
BEGIN

Select 'FirstTableName' AS TableName, Column1, Column2
FROM FirstTable

Select 'SecondTableName' AS TableName, Column1, Column2
FROM SecondTable

Select 'ThirdTableName' AS TableName, *
FROM ThirdTable

END


In the returning DataSet first column for all DataTables will have the TableName you have specified in the SP. You can identify the specific table using these names and assign an appropriate name to your DataTables.
GeneralRe: Getting TableName in DataSet/DataTable from SP Pin
Maxim Langman9-Dec-09 19:34
Maxim Langman9-Dec-09 19:34 
QuestionA Query Pin
mehrdadc481-Mar-09 23:44
mehrdadc481-Mar-09 23:44 
AnswerRe: A Query Pin
Rupesh Kumar Swami1-Mar-09 23:56
Rupesh Kumar Swami1-Mar-09 23:56 
GeneralRe: A Query Pin
mehrdadc482-Mar-09 0:03
mehrdadc482-Mar-09 0:03 
GeneralRe: A Query Pin
Rupesh Kumar Swami2-Mar-09 0:45
Rupesh Kumar Swami2-Mar-09 0:45 
GeneralRe: A Query Pin
Abhishek Sur2-Mar-09 4:27
professionalAbhishek Sur2-Mar-09 4:27 
GeneralRe: A Query Pin
mehrdadc482-Mar-09 4:42
mehrdadc482-Mar-09 4:42 
Questionsql query Pin
Zeyad Jalil1-Mar-09 22:59
professionalZeyad Jalil1-Mar-09 22:59 
AnswerRe: sql query Pin
Vimalsoft(Pty) Ltd1-Mar-09 23:10
professionalVimalsoft(Pty) Ltd1-Mar-09 23:10 
QuestionForeign Key Pin
Zeyad Jalil1-Mar-09 21:06
professionalZeyad Jalil1-Mar-09 21:06 
AnswerRe: Foreign Key Pin
goodideadave2-Mar-09 7:48
goodideadave2-Mar-09 7:48 
AnswerRe: Foreign Key Pin
Dipak Rade3-Mar-09 0:36
Dipak Rade3-Mar-09 0:36 
QuestionError: 18056, Severity: 20, State: 23. Pin
poonam kwatra1-Mar-09 18:43
poonam kwatra1-Mar-09 18:43 
QuestionConditional Execute If... Execute Pin
swjam1-Mar-09 15:16
swjam1-Mar-09 15:16 
AnswerRe: Conditional Execute If... Execute Pin
PIEBALDconsult1-Mar-09 15:51
mvePIEBALDconsult1-Mar-09 15:51 
Questionset remote access settings for Sql Server 2000 Pin
H.R28-Feb-09 20:29
H.R28-Feb-09 20:29 
AnswerRe: set remote access settings for Sql Server 2000 Pin
Rupesh Kumar Swami28-Feb-09 23:41
Rupesh Kumar Swami28-Feb-09 23:41 

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.