Click here to Skip to main content
15,899,679 members
Home / Discussions / Database
   

Database

 
QuestionSQL 2005 xml record.value function with pattern matching Pin
Omkar Ghaisas20-Oct-06 9:52
Omkar Ghaisas20-Oct-06 9:52 
Questionself join/ select question Pin
Elina Blank20-Oct-06 8:58
sitebuilderElina Blank20-Oct-06 8:58 
AnswerRe: self join/ select question Pin
Eric Dahlvang20-Oct-06 11:06
Eric Dahlvang20-Oct-06 11:06 
QuestionRe: self join/ select question Pin
Elina Blank20-Oct-06 12:03
sitebuilderElina Blank20-Oct-06 12:03 
AnswerRe: self join/ select question Pin
Eric Dahlvang23-Oct-06 2:56
Eric Dahlvang23-Oct-06 2:56 
GeneralRe: self join/ select question Pin
Elina Blank23-Oct-06 3:53
sitebuilderElina Blank23-Oct-06 3:53 
QuestionWin Service and Stored Procedure Pin
xfitr220-Oct-06 5:46
xfitr220-Oct-06 5:46 
QuestionSQL / ODBC problem Pin
Alice@mywonderland20-Oct-06 4:10
Alice@mywonderland20-Oct-06 4:10 
I'm trying to run the following ODBC command. It's returning 0 when I'm expecting a positive integer. Can anyone see where I'm going wrong?

ok=DBC (PREPARE, db_conn, "SELECT c.QuestionID FROM (SELECT DISTINCT QuestionID FROM Questions WHERE TopicID = ?) AS c LEFT OUTER JOIN (SELECT DISTINCT QuestionID, UserID FROM UserResponses WHERE UserID = ?) AS d ON c.QuestionID = d.QuestionID WHERE d.UserID <> ? OR d.UserID IS NULL ORDER BY c.QuestionID": db_stmt)

I am (fairly) confident that the SQL is correct as it is performing as expected when tested in Visual Web Developer.

Thanks,
Alice
QuestionTimeout expired Problem ???? Pin
devboycpp20-Oct-06 1:42
devboycpp20-Oct-06 1:42 
AnswerRe: Timeout expired Problem ???? Pin
Colin Angus Mackay20-Oct-06 2:34
Colin Angus Mackay20-Oct-06 2:34 
GeneralRe: Timeout expired Problem ???? Pin
devboycpp20-Oct-06 3:09
devboycpp20-Oct-06 3:09 
GeneralRe: Timeout expired Problem ???? Pin
Michael P Butler22-Oct-06 8:52
Michael P Butler22-Oct-06 8:52 
QuestionCrystal Report not showing any Data Pin
MullahOmer19-Oct-06 23:18
MullahOmer19-Oct-06 23:18 
QuestionTesting purpose Pin
rahuljosh007200019-Oct-06 22:33
rahuljosh007200019-Oct-06 22:33 
AnswerRe: Testing purpose Pin
Colin Angus Mackay19-Oct-06 23:25
Colin Angus Mackay19-Oct-06 23:25 
GeneralRe: Testing purpose Pin
Jerry Hammond20-Oct-06 8:35
Jerry Hammond20-Oct-06 8:35 
QuestionQuery Sloving Problem Pin
Syed Shahid Hussain19-Oct-06 22:06
Syed Shahid Hussain19-Oct-06 22:06 
AnswerRe: Query Sloving Problem Pin
andyharman27-Oct-06 3:03
professionalandyharman27-Oct-06 3:03 
QuestionHow to shift My Sql data to Sql Server Pin
srilu nagalla19-Oct-06 20:49
srilu nagalla19-Oct-06 20:49 
AnswerRe: How to shift My Sql data to Sql Server Pin
Edbert P19-Oct-06 21:11
Edbert P19-Oct-06 21:11 
Questionwhere can find A CADOConnection CLASS package Pin
swgzj19-Oct-06 17:56
swgzj19-Oct-06 17:56 
AnswerRe: where can find A CADOConnection CLASS package Pin
S Douglas23-Oct-06 0:58
professionalS Douglas23-Oct-06 0:58 
GeneralSqlParameter was expected, but it's been given! Pin
Ed.Poore19-Oct-06 13:28
Ed.Poore19-Oct-06 13:28 
GeneralRe: SqlParameter was expected, but it's been given! Pin
Colin Angus Mackay19-Oct-06 13:43
Colin Angus Mackay19-Oct-06 13:43 
GeneralRe: SqlParameter was expected, but it's been given! Pin
Ed.Poore19-Oct-06 14:00
Ed.Poore19-Oct-06 14:00 

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.