Click here to Skip to main content
15,798,508 members
Home / Discussions / Database
   

Database

 
QuestionMS SQL Server Multiple Roles per User Pin
Jack Brando8-Jul-08 18:34
Jack Brando8-Jul-08 18:34 
AnswerRe: MS SQL Server Multiple Roles per User Pin
Ashfield8-Jul-08 23:03
Ashfield8-Jul-08 23:03 
QuestionCommunicating via Windows Service object Pin
Richard Blythe8-Jul-08 6:07
Richard Blythe8-Jul-08 6:07 
AnswerRe: Communicating via Windows Service object Pin
Pete O'Hanlon8-Jul-08 9:56
subeditorPete O'Hanlon8-Jul-08 9:56 
AnswerRe: Communicating via Windows Service object Pin
Mycroft Holmes9-Jul-08 18:47
professionalMycroft Holmes9-Jul-08 18:47 
QuestionDB2 Query Validation in C# Pin
Member 19917268-Jul-08 3:03
Member 19917268-Jul-08 3:03 
AnswerRe: DB2 Query Validation in C# Pin
Ashfield8-Jul-08 5:46
Ashfield8-Jul-08 5:46 
AnswerRe: DB2 Query Validation in C# Pin
Kschuler8-Jul-08 12:33
Kschuler8-Jul-08 12:33 
What do you mean by validate?

You could use a DataReader object to do a GetSchemaTable and if it successfully returns, you can be relatively sure the SQL query was good. You could include put "WHERE 1=2" in the WHERE portion of the SQL to return just the schema of an SQL statement, as a different way to check. You could replace any selected fields with COUNT(*) to return a count of how many records will be pulle before you run the query. You could do a .DeriveParameters on the command. There are all kinds of options available to you.

Hope this helps.
QuestionSQL Server 2005 Express, Windows Authentication mode, domain/non-domain users Pin
Gary Wheeler8-Jul-08 2:39
Gary Wheeler8-Jul-08 2:39 
AnswerRe: SQL Server 2005 Express, Windows Authentication mode, domain/non-domain users Pin
Ashfield8-Jul-08 3:11
Ashfield8-Jul-08 3:11 
GeneralRe: SQL Server 2005 Express, Windows Authentication mode, domain/non-domain users Pin
Gary Wheeler8-Jul-08 3:46
Gary Wheeler8-Jul-08 3:46 
GeneralRe: SQL Server 2005 Express, Windows Authentication mode, domain/non-domain users Pin
Ashfield8-Jul-08 5:58
Ashfield8-Jul-08 5:58 
GeneralRe: SQL Server 2005 Express, Windows Authentication mode, domain/non-domain users Pin
Gary Wheeler8-Jul-08 6:20
Gary Wheeler8-Jul-08 6:20 
QuestionWhile using ADDNEW in MySQL it is creating huge Temp files Pin
pallaka8-Jul-08 2:37
pallaka8-Jul-08 2:37 
AnswerRe: While using ADDNEW in MySQL it is creating huge Temp files Pin
pallaka8-Jul-08 23:20
pallaka8-Jul-08 23:20 
QuestionReporting Services Pin
Rashmi Deshpande8-Jul-08 2:26
Rashmi Deshpande8-Jul-08 2:26 
QuestionHow to comare two database,and find out difference? Pin
dingoishere7-Jul-08 18:08
dingoishere7-Jul-08 18:08 
AnswerRe: How to comare two database,and find out difference? Pin
TheFM2347-Jul-08 18:41
TheFM2347-Jul-08 18:41 
GeneralRe: How to comare two database,and find out difference? Pin
dingoishere8-Jul-08 16:16
dingoishere8-Jul-08 16:16 
QuestionHow to find the location of an update Pin
Brady Kelly7-Jul-08 5:21
Brady Kelly7-Jul-08 5:21 
AnswerRe: How to find the location of an update Pin
scottgp7-Jul-08 5:26
professionalscottgp7-Jul-08 5:26 
GeneralRe: How to find the location of an update Pin
Brady Kelly7-Jul-08 5:42
Brady Kelly7-Jul-08 5:42 
GeneralRe: How to find the location of an update Pin
scottgp7-Jul-08 5:49
professionalscottgp7-Jul-08 5:49 
GeneralRe: How to find the location of an update Pin
Brady Kelly7-Jul-08 6:39
Brady Kelly7-Jul-08 6:39 
GeneralRe: How to find the location of an update Pin
SimulationofSai7-Jul-08 7:28
SimulationofSai7-Jul-08 7:28 

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.