Click here to Skip to main content
15,900,366 members
Home / Discussions / Database
   

Database

 
QuestionDatabase connection problem for remote machine Pin
Kissy165-Sep-07 23:09
Kissy165-Sep-07 23:09 
AnswerRe: Database connection problem for remote machine Pin
vimal_yet5-Sep-07 23:24
vimal_yet5-Sep-07 23:24 
GeneralRe: Database connection problem for remote machine Pin
Kissy165-Sep-07 23:28
Kissy165-Sep-07 23:28 
AnswerRe: Database connection problem for remote machine Pin
John-ph5-Sep-07 23:29
John-ph5-Sep-07 23:29 
GeneralRe: Database connection problem for remote machine Pin
Kissy165-Sep-07 23:54
Kissy165-Sep-07 23:54 
AnswerRe: Database connection problem for remote machine [modified] Pin
Joe6-Sep-07 1:49
Joe6-Sep-07 1:49 
QuestionExecute a stored procedure Pin
John Gathogo5-Sep-07 22:18
John Gathogo5-Sep-07 22:18 
AnswerRe: Execute a stored procedure Pin
John-ph5-Sep-07 22:40
John-ph5-Sep-07 22:40 
John Gathogo wrote:
SELECT ContactID, ContactName FROM Contacts

John Gathogo wrote:
How can I receive the returned results into a temporary or permanent table?


Using Into Clause

Into Temporary Table
----------------------

SELECT ContactID, ContactName INTO #TempTable FROM Contacts
The above sql stmt will create a temporary table and Inserts the resulting rows from the query into it.

Into Permanent Table
----------------------

Insert Into PermanentTable(ContactID, ContactName)(SELECT ContactID, ContactName FROM Contacts)
this statement Inserts the resulting rows from the select query into permanent table provide both the tables should have the same definition.


Regards
J O H N Rose | [Rose]

"Even eagles need a push." David McNally

GeneralRe: Execute a stored procedure Pin
John Gathogo5-Sep-07 22:59
John Gathogo5-Sep-07 22:59 
AnswerRe: Execute a stored procedure Pin
Frank Kerrigan5-Sep-07 22:51
Frank Kerrigan5-Sep-07 22:51 
AnswerRe: Execute a stored procedure Pin
manuo57-Sep-07 0:05
manuo57-Sep-07 0:05 
QuestionIs datatable.update necessary Pin
Glen Harvy5-Sep-07 21:45
Glen Harvy5-Sep-07 21:45 
AnswerRe: Is datatable.update necessary Pin
pmarfleet5-Sep-07 22:07
pmarfleet5-Sep-07 22:07 
GeneralRe: Is datatable.update necessary Pin
Glen Harvy5-Sep-07 22:26
Glen Harvy5-Sep-07 22:26 
GeneralRe: Is datatable.update necessary Pin
pmarfleet5-Sep-07 22:48
pmarfleet5-Sep-07 22:48 
GeneralRe: Is datatable.update necessary Pin
Glen Harvy5-Sep-07 23:20
Glen Harvy5-Sep-07 23:20 
Questiondatatable.update & dataset.acceptchanges Pin
Glen Harvy5-Sep-07 21:20
Glen Harvy5-Sep-07 21:20 
QuestionFine Tuning a Recursive Stored Procedure Pin
Vasudevan Deepak Kumar5-Sep-07 21:04
Vasudevan Deepak Kumar5-Sep-07 21:04 
AnswerRe: Fine Tuning a Recursive Stored Procedure Pin
Frank Kerrigan5-Sep-07 22:53
Frank Kerrigan5-Sep-07 22:53 
QuestionHow to put multiple values in y-axis in chart in reportiing services? Pin
Jwalant Natvarlal Soneji5-Sep-07 20:42
Jwalant Natvarlal Soneji5-Sep-07 20:42 
QuestionIdentity Constraint Pin
M. J. Jaya Chitra5-Sep-07 18:19
M. J. Jaya Chitra5-Sep-07 18:19 
AnswerRe: Identity Constraint Pin
John-ph5-Sep-07 22:26
John-ph5-Sep-07 22:26 
QuestionHow can I save the image of PictureBox to Sql Server 2000 Pin
kindman_nb5-Sep-07 15:02
kindman_nb5-Sep-07 15:02 
Questionrequest database sites Pin
dinakatina5-Sep-07 13:45
dinakatina5-Sep-07 13:45 
AnswerRe: request database sites Pin
Colin Angus Mackay5-Sep-07 14:09
Colin Angus Mackay5-Sep-07 14:09 

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.