Click here to Skip to main content
15,889,034 members
Home / Discussions / Database
   

Database

 
AnswerRe: Save changes from the dataset to the database Pin
N a v a n e e t h13-Mar-07 22:27
N a v a n e e t h13-Mar-07 22:27 
GeneralRe: Save changes from the dataset to the database Pin
JacquesDP13-Mar-07 22:33
JacquesDP13-Mar-07 22:33 
QuestionDatabase compare tool ??? Pin
kaliem13-Mar-07 21:26
kaliem13-Mar-07 21:26 
QuestionRe: Database compare tool ??? Pin
N a v a n e e t h13-Mar-07 22:29
N a v a n e e t h13-Mar-07 22:29 
AnswerRe: Database compare tool ??? Pin
kaliem13-Mar-07 22:49
kaliem13-Mar-07 22:49 
AnswerRe: Database compare tool ??? Pin
kaliem13-Mar-07 22:51
kaliem13-Mar-07 22:51 
AnswerRe: Database compare tool ??? Pin
Scott Serl14-Mar-07 9:49
Scott Serl14-Mar-07 9:49 
QuestionSQL Server 2005 data import - best practices? Pin
Tobias Schoenig13-Mar-07 21:25
Tobias Schoenig13-Mar-07 21:25 
Hello,

I'm getting data via file transfer-interface and I'd like to import it to a sql server 2005 database. Now my question: What is the best way to write the data to the database (I'm using C#)? Open a SqlConnection, transfer each single data row and the close the connection again? This can't be the best solution I think. Is there a better, faster way to get the data into the database - e.g. with a dataset? It's a little complicated, because I've corresponding data tables and I've got to query these tables for primary keys, to be able to fill the new data rows and import the new data properly. I already know DataSet.Update() but then there's still the problem that I've got to query the related tables for the ID (primary key) before I can update the DataSet and the database. I simply can't figure out how I can avoid the query for these IDs. Maybe someone got an idea for this problem?! Thanks in advance.

Tobias
AnswerRe: SQL Server 2005 data import - best practices? Pin
Colin Angus Mackay13-Mar-07 22:16
Colin Angus Mackay13-Mar-07 22:16 
GeneralRe: SQL Server 2005 data import - best practices? Pin
Tobias Schoenig13-Mar-07 22:46
Tobias Schoenig13-Mar-07 22:46 
GeneralRe: SQL Server 2005 data import - best practices? Pin
Colin Angus Mackay13-Mar-07 22:52
Colin Angus Mackay13-Mar-07 22:52 
GeneralRe: SQL Server 2005 data import - best practices? Pin
Tobias Schoenig13-Mar-07 23:00
Tobias Schoenig13-Mar-07 23:00 
GeneralRe: SQL Server 2005 data import - best practices? Pin
Colin Angus Mackay13-Mar-07 23:48
Colin Angus Mackay13-Mar-07 23:48 
GeneralRe: SQL Server 2005 data import - best practices? Pin
Tobias Schoenig14-Mar-07 0:02
Tobias Schoenig14-Mar-07 0:02 
GeneralRe: SQL Server 2005 data import - best practices? Pin
Colin Angus Mackay14-Mar-07 22:51
Colin Angus Mackay14-Mar-07 22:51 
QuestionError while uploading using OleDb Pin
jithbiz003313-Mar-07 21:14
jithbiz003313-Mar-07 21:14 
AnswerRe: Error while uploading using OleDb Pin
Colin Angus Mackay13-Mar-07 22:08
Colin Angus Mackay13-Mar-07 22:08 
GeneralRe: Error while uploading using OleDb Pin
jithbiz003316-Mar-07 18:42
jithbiz003316-Mar-07 18:42 
GeneralRe: Error while uploading using OleDb Pin
Colin Angus Mackay16-Mar-07 23:46
Colin Angus Mackay16-Mar-07 23:46 
GeneralRe: Error while uploading using OleDb [modified] Pin
jithbiz003321-Mar-07 18:44
jithbiz003321-Mar-07 18:44 
QuestionFunctions in SQL Server...... Pin
Smart_Boy13-Mar-07 18:54
Smart_Boy13-Mar-07 18:54 
AnswerRe: Functions in SQL Server...... Pin
Colin Angus Mackay13-Mar-07 22:07
Colin Angus Mackay13-Mar-07 22:07 
GeneralRe: Functions in SQL Server...... [modified] Pin
Smart_Boy14-Mar-07 20:39
Smart_Boy14-Mar-07 20:39 
GeneralRe: Functions in SQL Server...... Pin
Colin Angus Mackay14-Mar-07 22:55
Colin Angus Mackay14-Mar-07 22:55 
GeneralRe: Functions in SQL Server...... Pin
Smart_Boy15-Mar-07 0:25
Smart_Boy15-Mar-07 0:25 

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.