Click here to Skip to main content
15,892,927 members
Home / Discussions / Database
   

Database

 
GeneralRe: subquery using 1 table Pin
john john mackey17-Oct-12 4:38
john john mackey17-Oct-12 4:38 
QuestionHigh Number of Lock Requests Pin
cjb11016-Oct-12 3:23
cjb11016-Oct-12 3:23 
AnswerRe: High Number of Lock Requests Pin
Eddy Vluggen17-Oct-12 0:17
professionalEddy Vluggen17-Oct-12 0:17 
QuestionSQL Select Where query Pin
Joe Stansfield15-Oct-12 0:37
Joe Stansfield15-Oct-12 0:37 
AnswerRe: SQL Select Where query Pin
Eddy Vluggen15-Oct-12 0:57
professionalEddy Vluggen15-Oct-12 0:57 
GeneralRe: SQL Select Where query Pin
Joe Stansfield15-Oct-12 1:15
Joe Stansfield15-Oct-12 1:15 
GeneralRe: SQL Select Where query Pin
Eddy Vluggen15-Oct-12 1:22
professionalEddy Vluggen15-Oct-12 1:22 
GeneralRe: SQL Select Where query Pin
Joe Stansfield15-Oct-12 1:28
Joe Stansfield15-Oct-12 1:28 
Yea that will fix up the error from no value being entered.

But I'm struggling to understand and make it work if, say, an input of 100 is entered. If 100 isn't a valid ID of a record, it won't return anything. I'd like it to return 1 for ease of avoiding an error and possible loop error (which could also be put down to poor programming by me on the C# side of things).

With that said, if 99 is entered and that is a valid record, then 99 would need to be returned by the query.

Sorry for not understanding your explanation.
AnswerRe: SQL Select Where query Pin
Eddy Vluggen15-Oct-12 2:15
professionalEddy Vluggen15-Oct-12 2:15 
GeneralRe: SQL Select Where query Pin
Joe Stansfield15-Oct-12 10:48
Joe Stansfield15-Oct-12 10:48 
GeneralRe: SQL Select Where query Pin
fjdiewornncalwe15-Oct-12 11:06
professionalfjdiewornncalwe15-Oct-12 11:06 
GeneralRe: SQL Select Where query Pin
Joe Stansfield16-Oct-12 0:08
Joe Stansfield16-Oct-12 0:08 
GeneralRe: SQL Select Where query Pin
Eddy Vluggen16-Oct-12 0:12
professionalEddy Vluggen16-Oct-12 0:12 
GeneralRe: SQL Select Where query Pin
Joe Stansfield16-Oct-12 23:04
Joe Stansfield16-Oct-12 23:04 
GeneralRe: SQL Select Where query Pin
Eddy Vluggen16-Oct-12 23:37
professionalEddy Vluggen16-Oct-12 23:37 
GeneralRe: SQL Select Where query Pin
Member 952116716-Oct-12 22:41
Member 952116716-Oct-12 22:41 
GeneralRe: SQL Select Where query Pin
Simon_Whale16-Oct-12 22:52
Simon_Whale16-Oct-12 22:52 
GeneralRe: SQL Select Where query Pin
Rohit Shrivastava18-Oct-12 7:56
Rohit Shrivastava18-Oct-12 7:56 
GeneralRe: SQL Select Where query Pin
Joe Stansfield15-Oct-12 1:20
Joe Stansfield15-Oct-12 1:20 
GeneralRe: SQL Select Where query Pin
Eddy Vluggen15-Oct-12 1:25
professionalEddy Vluggen15-Oct-12 1:25 
AnswerRe: SQL Select Where query Pin
Nidhisha Biju15-Oct-12 1:05
Nidhisha Biju15-Oct-12 1:05 
GeneralRe: SQL Select Where query Pin
Eddy Vluggen15-Oct-12 1:26
professionalEddy Vluggen15-Oct-12 1:26 
AnswerRe: SQL Select Where query Pin
Aadhar Joshi16-Oct-12 20:47
Aadhar Joshi16-Oct-12 20:47 
AnswerRe: SQL Select Where query Pin
Hitesh R23-Oct-12 1:06
Hitesh R23-Oct-12 1:06 
QuestionMS SQL didn't allow to store apostrophe( ' ) in name Pin
Azher.Cybertech15-Oct-12 0:04
Azher.Cybertech15-Oct-12 0:04 

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.