Click here to Skip to main content
15,879,184 members
Home / Discussions / Database
   

Database

 
QuestionMS SQL Server Multiple Roles per User Pin
Jack Brando8-Jul-08 17:34
Jack Brando8-Jul-08 17:34 
AnswerRe: MS SQL Server Multiple Roles per User Pin
Ashfield8-Jul-08 22:03
Ashfield8-Jul-08 22:03 
QuestionCommunicating via Windows Service object Pin
Richard Blythe8-Jul-08 5:07
Richard Blythe8-Jul-08 5:07 
AnswerRe: Communicating via Windows Service object Pin
Pete O'Hanlon8-Jul-08 8:56
mvePete O'Hanlon8-Jul-08 8:56 
AnswerRe: Communicating via Windows Service object Pin
Mycroft Holmes9-Jul-08 17:47
professionalMycroft Holmes9-Jul-08 17:47 
QuestionDB2 Query Validation in C# Pin
Member 19917268-Jul-08 2:03
Member 19917268-Jul-08 2:03 
AnswerRe: DB2 Query Validation in C# Pin
Ashfield8-Jul-08 4:46
Ashfield8-Jul-08 4:46 
AnswerRe: DB2 Query Validation in C# Pin
Kschuler8-Jul-08 11:33
Kschuler8-Jul-08 11: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 1:39
Gary Wheeler8-Jul-08 1:39 
AnswerRe: SQL Server 2005 Express, Windows Authentication mode, domain/non-domain users Pin
Ashfield8-Jul-08 2:11
Ashfield8-Jul-08 2:11 
GeneralRe: SQL Server 2005 Express, Windows Authentication mode, domain/non-domain users Pin
Gary Wheeler8-Jul-08 2:46
Gary Wheeler8-Jul-08 2:46 
GeneralRe: SQL Server 2005 Express, Windows Authentication mode, domain/non-domain users Pin
Ashfield8-Jul-08 4:58
Ashfield8-Jul-08 4:58 
GeneralRe: SQL Server 2005 Express, Windows Authentication mode, domain/non-domain users Pin
Gary Wheeler8-Jul-08 5:20
Gary Wheeler8-Jul-08 5:20 
QuestionWhile using ADDNEW in MySQL it is creating huge Temp files Pin
pallaka8-Jul-08 1:37
pallaka8-Jul-08 1:37 
AnswerRe: While using ADDNEW in MySQL it is creating huge Temp files Pin
pallaka8-Jul-08 22:20
pallaka8-Jul-08 22:20 
QuestionReporting Services Pin
Rashmi Deshpande8-Jul-08 1:26
Rashmi Deshpande8-Jul-08 1:26 
QuestionHow to comare two database,and find out difference? Pin
dingoishere7-Jul-08 17:08
dingoishere7-Jul-08 17:08 
AnswerRe: How to comare two database,and find out difference? Pin
TheFM2347-Jul-08 17:41
TheFM2347-Jul-08 17:41 
GeneralRe: How to comare two database,and find out difference? Pin
dingoishere8-Jul-08 15:16
dingoishere8-Jul-08 15:16 
QuestionHow to find the location of an update Pin
Brady Kelly7-Jul-08 4:21
Brady Kelly7-Jul-08 4:21 
AnswerRe: How to find the location of an update Pin
scottgp7-Jul-08 4:26
professionalscottgp7-Jul-08 4:26 
GeneralRe: How to find the location of an update Pin
Brady Kelly7-Jul-08 4:42
Brady Kelly7-Jul-08 4:42 
GeneralRe: How to find the location of an update Pin
scottgp7-Jul-08 4:49
professionalscottgp7-Jul-08 4:49 
GeneralRe: How to find the location of an update Pin
Brady Kelly7-Jul-08 5:39
Brady Kelly7-Jul-08 5:39 
GeneralRe: How to find the location of an update Pin
SimulationofSai7-Jul-08 6:28
SimulationofSai7-Jul-08 6: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.