Click here to Skip to main content
15,888,401 members
Home / Discussions / Database
   

Database

 
GeneralRe: Web part database access Pin
Michael Potter21-Oct-05 3:21
Michael Potter21-Oct-05 3:21 
GeneralRe: Web part database access Pin
phy6njsb23-Oct-05 22:54
phy6njsb23-Oct-05 22:54 
GeneralRe: Web part database access Pin
Michael Potter24-Oct-05 3:15
Michael Potter24-Oct-05 3:15 
GeneralRe: Web part database access Pin
phy6njsb24-Oct-05 3:53
phy6njsb24-Oct-05 3:53 
Questionhelp!!!!!!!.............. please Pin
alonso2k8119-Oct-05 11:46
alonso2k8119-Oct-05 11:46 
AnswerRe: help!!!!!!!.............. please Pin
TheOnlyFalcon21-Oct-05 14:41
TheOnlyFalcon21-Oct-05 14:41 
QuestionBindingContext Pin
NormBohana19-Oct-05 8:44
NormBohana19-Oct-05 8:44 
QuestionAuto-generating SQL to fill a DataSet Pin
GazzaJ19-Oct-05 1:01
GazzaJ19-Oct-05 1:01 
I am writing an application where I am using strongly typed DataSets to define the DataTables and relations used in various parts of the application. I have code that takes these DataSets and converts the rows in the DataTables to objects which I then use in my application. The reason for using strongly typed DataSets is so if I change the database schema I only need to validate the DataSets to identify any mismatches at compilation time.

I obviously need to fill the DataSets which is currently done by creating SqlAdapters which call stored procedures to populate the DataTables within the DataSet. This means I have to keep the stored procedures in sync with the DataSets when the schema is changed. I am trying to minimise any potential bugs and so I am looking at ways to ensure the database schema, DataSets and stored procedures are kept in sync.

My current method is to use my own validation tool which performs tests on the DataSets to ensure the stored procedures correctly fill the DataSets.

Given the information contained within the DataSet I was thinking that it should be possible to "auto-generate" the SQL from the DataTables and DataRelations definitions. For a simple situation like Customers and Orders this is not difficult but I was wondering if there are any libraries or tools out there which generate SQL code from a DataSet definition given the complexity that may be involved with many tables and their relationships.
AnswerRe: Auto-generating SQL to fill a DataSet Pin
miah alom19-Oct-05 4:01
miah alom19-Oct-05 4:01 
Questiondebug sql stored procedure Pin
nripin18-Oct-05 17:49
sussnripin18-Oct-05 17:49 
AnswerRe: debug sql stored procedure Pin
Scott Serl19-Oct-05 6:55
Scott Serl19-Oct-05 6:55 
GeneralRe: debug sql stored procedure Pin
nripin19-Oct-05 17:55
sussnripin19-Oct-05 17:55 
QuestionRe: debug sql stored procedure Pin
nrps19-Oct-05 18:06
nrps19-Oct-05 18:06 
QuestionQuery to get specific word in a column Pin
JayaDurai18-Oct-05 2:05
JayaDurai18-Oct-05 2:05 
AnswerRe: Query to get specific word in a column Pin
miah alom18-Oct-05 3:52
miah alom18-Oct-05 3:52 
AnswerRe: Query to get specific word in a column Pin
JayaDurai18-Oct-05 18:51
JayaDurai18-Oct-05 18:51 
AnswerRe: Query to get specific word in a column Pin
under281120-Oct-05 0:06
under281120-Oct-05 0:06 
QuestionInstanciate SQLXMLBulkLoad object Pin
george ivanov18-Oct-05 1:07
george ivanov18-Oct-05 1:07 
AnswerRe: Instanciate SQLXMLBulkLoad object Pin
cmacgowan2-Dec-05 4:04
cmacgowan2-Dec-05 4:04 
QuestionAvg in SQL Statement Pin
dabuskol17-Oct-05 23:36
dabuskol17-Oct-05 23:36 
AnswerRe: Avg in SQL Statement Pin
Marc Soleda17-Oct-05 23:49
Marc Soleda17-Oct-05 23:49 
QuestionI used NVL fuction to convert the null value into 0 what is the equavalent thing in SQL server . Pin
anishyanic17-Oct-05 23:33
anishyanic17-Oct-05 23:33 
Questioncumulative aggregate queries in transact-sql Pin
smita_roy17-Oct-05 22:27
smita_roy17-Oct-05 22:27 
AnswerRe: cumulative aggregate queries in transact-sql Pin
under281120-Oct-05 0:19
under281120-Oct-05 0:19 
Questionconnection string Pin
kindkirk17-Oct-05 18:44
kindkirk17-Oct-05 18:44 

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.