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

Database

 
AnswerRe: How to create Data Archiving in SQL Server 2005 Pin
Shameel23-May-10 5:11
professionalShameel23-May-10 5:11 
AnswerRe: How to create Data Archiving in SQL Server 2005 Pin
Mycroft Holmes23-May-10 11:15
professionalMycroft Holmes23-May-10 11:15 
Questionan insert query with return value Pin
reza assar20-May-10 22:53
reza assar20-May-10 22:53 
AnswerRe: an insert query with return value Pin
Johan Hakkesteegt21-May-10 0:50
Johan Hakkesteegt21-May-10 0:50 
GeneralRe: an insert query with return value Pin
J4amieC21-May-10 1:28
J4amieC21-May-10 1:28 
GeneralRe: an insert query with return value Pin
Luc Pattyn21-May-10 3:13
sitebuilderLuc Pattyn21-May-10 3:13 
GeneralRe: an insert query with return value Pin
Johan Hakkesteegt21-May-10 3:15
Johan Hakkesteegt21-May-10 3:15 
AnswerRe: an insert query with return value Pin
Tripathi Swati21-May-10 0:52
Tripathi Swati21-May-10 0:52 
INSERT INTO target [IN externaldatabase] [(field1[, field2[, ...]])] SELECT [source.]field1[, field2[, ...] FROM tableexpression;



you can first insert and then can retrive scalar value like below

select max(ColumnName1) as Max_RowNumber from table_name;


I guess this will help you.
Reasons are not Important but Results are Important.
http://www.sql4professional.blogspot.com
Swati Tripathi

GeneralRe: an insert query with return value Pin
J4amieC21-May-10 1:31
J4amieC21-May-10 1:31 
AnswerRe: an insert query with return value Pin
J4amieC21-May-10 1:31
J4amieC21-May-10 1:31 
GeneralRe: an insert query with return value Pin
Luc Pattyn21-May-10 3:16
sitebuilderLuc Pattyn21-May-10 3:16 
GeneralRe: an insert query with return value Pin
Johan Hakkesteegt21-May-10 3:20
Johan Hakkesteegt21-May-10 3:20 
GeneralRe: an insert query with return value Pin
riced21-May-10 4:29
riced21-May-10 4:29 
GeneralRe: an insert query with return value Pin
Luc Pattyn21-May-10 4:30
sitebuilderLuc Pattyn21-May-10 4:30 
GeneralRe: an insert query with return value Pin
reza assar21-May-10 7:32
reza assar21-May-10 7:32 
GeneralRe: an insert query with return value Pin
Luc Pattyn21-May-10 7:41
sitebuilderLuc Pattyn21-May-10 7:41 
GeneralRe: an insert query with return value Pin
J4amieC24-May-10 1:25
J4amieC24-May-10 1:25 
GeneralRe: an insert query with return value Pin
Mycroft Holmes23-May-10 4:26
professionalMycroft Holmes23-May-10 4:26 
GeneralRe: an insert query with return value Pin
Luc Pattyn23-May-10 4:36
sitebuilderLuc Pattyn23-May-10 4:36 
GeneralRe: an insert query with return value Pin
Mycroft Holmes23-May-10 11:07
professionalMycroft Holmes23-May-10 11:07 
GeneralRe: an insert query with return value Pin
Luc Pattyn23-May-10 13:51
sitebuilderLuc Pattyn23-May-10 13:51 
QuestionMultiple columns at GROUP BY clause in CASE clause [modified] Pin
Naunt19-May-10 22:58
Naunt19-May-10 22:58 
AnswerRe: Multiple columns at GROUP BY clause in CASE clause Pin
Johan Hakkesteegt19-May-10 23:51
Johan Hakkesteegt19-May-10 23:51 
GeneralRe: Multiple columns at GROUP BY clause in CASE clause Pin
David Skelly20-May-10 0:37
David Skelly20-May-10 0:37 
GeneralRe: Multiple columns at GROUP BY clause in CASE clause Pin
Johan Hakkesteegt20-May-10 0:41
Johan Hakkesteegt20-May-10 0: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.