Click here to Skip to main content
15,913,084 members
Home / Discussions / Database
   

Database

 
GeneralRe: Date problem Pin
Colin Angus Mackay19-Feb-06 2:43
Colin Angus Mackay19-Feb-06 2:43 
QuestionHow to indent SQL statements? Pin
sacoskun18-Feb-06 21:19
sacoskun18-Feb-06 21:19 
AnswerRe: How to indent SQL statements? Pin
Colin Angus Mackay19-Feb-06 0:26
Colin Angus Mackay19-Feb-06 0:26 
GeneralRe: How to indent SQL statements? Pin
CWIZO19-Feb-06 1:40
CWIZO19-Feb-06 1:40 
GeneralRe: How to indent SQL statements? Pin
Paul Conrad19-Feb-06 7:45
professionalPaul Conrad19-Feb-06 7:45 
GeneralRe: How to indent SQL statements? Pin
sacoskun20-Feb-06 9:10
sacoskun20-Feb-06 9:10 
Questionmove table record Pin
sebastian yeok18-Feb-06 21:02
sebastian yeok18-Feb-06 21:02 
AnswerRe: move table record Pin
Colin Angus Mackay19-Feb-06 2:47
Colin Angus Mackay19-Feb-06 2:47 
sebastian yeok wrote:
the select statement used the .ExecuteReader and the insert statement used .ExecuteNonQuery how to join this both used in question (1)?


A better way of looking at is is:
I expect results back so I use ExecuteReader()
I don't expect results back so I use ExecuteNonQuery()

The SQL you supply is correct, you don't expect results back to the calling application. You therefore use ExecuteNonQuery()

sebastian yeok wrote:
how to move 1000 or more rocord from table1 to table2 ?. how to i store the 1000 records from table1. is there any solution to this problem.


I don't understand what the problem is that you are having. In (1) you already manage to copy the rows from one table to another. If you don't want the rows to continue to exist in the originating table you perform a DELETE operation with the same criteria in the WHERE clause.

ColinMackay.net
Scottish Developers are looking for speakers for user group sessions over the next few months. Do you want to know more?

QuestionDifference between two tables Pin
niceguyeddie199917-Feb-06 5:11
niceguyeddie199917-Feb-06 5:11 
AnswerRe: Difference between two tables Pin
Colin Angus Mackay17-Feb-06 5:35
Colin Angus Mackay17-Feb-06 5:35 
GeneralRe: Difference between two tables Pin
niceguyeddie199917-Feb-06 5:38
niceguyeddie199917-Feb-06 5:38 
GeneralRe: Difference between two tables Pin
Colin Angus Mackay17-Feb-06 8:46
Colin Angus Mackay17-Feb-06 8:46 
QuestionUrgent: SQL Server log: Login succeeded for user 'APPL_ACCOUNT'. Connection: Non-Trusted. Pin
devvvy16-Feb-06 17:45
devvvy16-Feb-06 17:45 
AnswerRe: Urgent: SQL Server log: Login succeeded for user 'APPL_ACCOUNT'. Connection: Non-Trusted. Pin
Edbert P19-Feb-06 13:16
Edbert P19-Feb-06 13:16 
GeneralRe: Urgent: SQL Server log: Login succeeded for user 'APPL_ACCOUNT'. Connection: Non-Trusted. Pin
devvvy19-Feb-06 14:45
devvvy19-Feb-06 14:45 
GeneralRe: Urgent: SQL Server log: Login succeeded for user 'APPL_ACCOUNT'. Connection: Non-Trusted. Pin
Edbert P19-Feb-06 17:03
Edbert P19-Feb-06 17:03 
GeneralRe: Urgent: SQL Server log: Login succeeded for user 'APPL_ACCOUNT'. Connection: Non-Trusted. Pin
devvvy19-Feb-06 17:10
devvvy19-Feb-06 17:10 
AnswerAn answer... Pin
devvvy19-Feb-06 17:45
devvvy19-Feb-06 17:45 
QuestionPer-user connection string to get good perf, good idea? Pin
Judah Gabriel Himango16-Feb-06 10:04
sponsorJudah Gabriel Himango16-Feb-06 10:04 
AnswerRe: Per-user connection string to get good perf, good idea? Pin
Colin Angus Mackay16-Feb-06 12:52
Colin Angus Mackay16-Feb-06 12:52 
GeneralRe: Per-user connection string to get good perf, good idea? Pin
Judah Gabriel Himango16-Feb-06 15:45
sponsorJudah Gabriel Himango16-Feb-06 15:45 
GeneralPartitioning Pin
Edbert P16-Feb-06 16:20
Edbert P16-Feb-06 16:20 
GeneralRe: Partitioning Pin
Judah Gabriel Himango16-Feb-06 16:44
sponsorJudah Gabriel Himango16-Feb-06 16:44 
QuestionT- SQL Inner Select Pin
Greeky16-Feb-06 1:21
Greeky16-Feb-06 1:21 
AnswerRe: T- SQL Inner Select Pin
Colin Angus Mackay16-Feb-06 2:16
Colin Angus Mackay16-Feb-06 2:16 

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.