Click here to Skip to main content
16,009,469 members
Home / Discussions / Database
   

Database

 
AnswerRe: Database upload and Append Pin
Rob Graham30-Apr-08 11:42
Rob Graham30-Apr-08 11:42 
GeneralRe: Database upload and Append Pin
L²+D1-May-08 3:21
L²+D1-May-08 3:21 
GeneralRe: Database upload and Append Pin
Youtea1-May-08 16:36
Youtea1-May-08 16:36 
RantRe: Database upload and Append Pin
Youtea2-May-08 5:40
Youtea2-May-08 5:40 
GeneralRe: Database upload and Append Pin
L²+D2-May-08 6:41
L²+D2-May-08 6:41 
GeneralRe: Database upload and Append Pin
Rob Graham2-May-08 3:21
Rob Graham2-May-08 3:21 
GeneralRe: Database upload and Append Pin
L²+D2-May-08 5:00
L²+D2-May-08 5:00 
GeneralRe: Database upload and Append Pin
Rob Graham2-May-08 7:31
Rob Graham2-May-08 7:31 
L wrote:
can I put insert into (*)" and leave off values?


No, you need to explicitly name the columns (since these are different connections and different databases, * wont work (and is bad practice in any case). Also, the number of columns must match the number of values in the values clause. The order of the parameters must match the field name order.

You don't need the dataset at all. It's not helping you. The datareader is a fast replacement for the dataset in this case, it represents the results from the query as a collection of rows that can be read once only in forward order.
GeneralRe: Database upload and Append Pin
L²+D6-May-08 11:14
L²+D6-May-08 11:14 
GeneralRe: Database upload and Append Pin
Rob Graham12-May-08 12:33
Rob Graham12-May-08 12:33 
QuestionMySql Connector .NET table exists Pin
annodomini230-Apr-08 2:56
annodomini230-Apr-08 2:56 
AnswerRe: MySql Connector .NET table exists Pin
Pete O'Hanlon30-Apr-08 3:27
mvePete O'Hanlon30-Apr-08 3:27 
AnswerRe: MySql Connector .NET table exists Pin
N a v a n e e t h30-Apr-08 3:34
N a v a n e e t h30-Apr-08 3:34 
GeneralRe: MySql Connector .NET table exists Pin
annodomini230-Apr-08 4:54
annodomini230-Apr-08 4:54 
GeneralRe: MySql Connector .NET table exists Pin
Pete O'Hanlon30-Apr-08 11:58
mvePete O'Hanlon30-Apr-08 11:58 
QuestionScripting SQL 2005 Database objects and Data Pin
Banjo Ayorinde29-Apr-08 22:27
Banjo Ayorinde29-Apr-08 22:27 
AnswerRe: Scripting SQL 2005 Database objects and Data Pin
Blue_Boy29-Apr-08 22:58
Blue_Boy29-Apr-08 22:58 
AnswerRe: Scripting SQL 2005 Database objects and Data Pin
Ashfield30-Apr-08 20:22
Ashfield30-Apr-08 20:22 
QuestionHow to get default databases in SQL Server 2005 Pin
VenkataRamana.Gali29-Apr-08 22:23
VenkataRamana.Gali29-Apr-08 22:23 
AnswerRe: How to get default databases in SQL Server 2005 Pin
R. Giskard Reventlov29-Apr-08 23:55
R. Giskard Reventlov29-Apr-08 23:55 
Questiondifference between sql,ms sql and sqlserver 2000 Pin
salil_k_singh29-Apr-08 20:29
salil_k_singh29-Apr-08 20:29 
AnswerRe: difference between sql,ms sql and sqlserver 2000 Pin
Ashfield29-Apr-08 21:17
Ashfield29-Apr-08 21:17 
JokeRe: difference between sql,ms sql and sqlserver 2000 Pin
Youtea30-Apr-08 20:48
Youtea30-Apr-08 20:48 
QuestionHow to create a table on Click event Pin
sacr8329-Apr-08 20:25
sacr8329-Apr-08 20:25 
AnswerRe: How to create a table on Click event Pin
Ashfield29-Apr-08 21:26
Ashfield29-Apr-08 21:26 

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.