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

Database

 
GeneralRe: datepart function..... Pin
Member 387988116-Jun-07 1:20
Member 387988116-Jun-07 1:20 
QuestionVB6 Pin
xxxxxzer15-Jun-07 12:25
xxxxxzer15-Jun-07 12:25 
Questiondatetime difference Pin
seemamltn15-Jun-07 11:33
seemamltn15-Jun-07 11:33 
QuestionSearch Facilities-Please Suggest Pin
adnanrafiq15-Jun-07 10:22
adnanrafiq15-Jun-07 10:22 
QuestionDelete the rows Pin
seemamltn15-Jun-07 8:04
seemamltn15-Jun-07 8:04 
AnswerRe: Delete the rows Pin
snorkie15-Jun-07 9:46
professionalsnorkie15-Jun-07 9:46 
QuestionIndex server Pin
originSH15-Jun-07 5:00
originSH15-Jun-07 5:00 
QuestionNULL vs '' (Nothing) Pin
dboy22115-Jun-07 4:24
dboy22115-Jun-07 4:24 
I have a sql statement where I am trying to pull all records that have a value as well as those records that do not have a value for a particular attribute in a table. To pull the values that were Null I used the following condition "OR cd.BCAT IS NULL" (where BCAT is the attribute) When adding this condition to my sql statement none of the records that have NULL values are returned. When checking the design of the table in SQL Server, I noticed that whoever set the table up, specified the default value for this particular attribute to '' (which I assume is nothing as opposed to null). Knowing this I changed the condition to "OR cd.BCAT IS ''". However, when doing this it seems like the query takes for ever, does not return anything, and basically hangs up. Is there a difference between NULL and ''. If so how can I return records that have '' as the value? Thanks in advance to all that reply.
AnswerRe: NULL vs '' (Nothing) Pin
Pete O'Hanlon15-Jun-07 4:30
mvePete O'Hanlon15-Jun-07 4:30 
GeneralRe: NULL vs '' (Nothing) Pin
dboy22115-Jun-07 4:46
dboy22115-Jun-07 4:46 
GeneralRe: NULL vs '' (Nothing) Pin
Pete O'Hanlon15-Jun-07 5:13
mvePete O'Hanlon15-Jun-07 5:13 
GeneralRe: NULL vs '' (Nothing) Pin
andyharman15-Jun-07 7:38
professionalandyharman15-Jun-07 7:38 
AnswerRe: NULL vs '' (Nothing) Pin
PIEBALDconsult15-Jun-07 4:32
mvePIEBALDconsult15-Jun-07 4:32 
QuestionHELP PLEase with SQL form data entry Pin
theimmortalmoo15-Jun-07 4:21
theimmortalmoo15-Jun-07 4:21 
AnswerRe: HELP PLEase with SQL form data entry Pin
leckey15-Jun-07 5:29
leckey15-Jun-07 5:29 
GeneralRe: HELP PLEase with SQL form data entry Pin
theimmortalmoo15-Jun-07 5:33
theimmortalmoo15-Jun-07 5:33 
GeneralRe: HELP PLEase with SQL form data entry Pin
leckey15-Jun-07 5:59
leckey15-Jun-07 5:59 
Questionmysql exchange data Pin
p_15-Jun-07 0:31
p_15-Jun-07 0:31 
AnswerRe: mysql exchange data Pin
Pete O'Hanlon15-Jun-07 1:15
mvePete O'Hanlon15-Jun-07 1:15 
GeneralRe: mysql exchange data Pin
Colin Angus Mackay15-Jun-07 4:13
Colin Angus Mackay15-Jun-07 4:13 
GeneralRe: mysql exchange data Pin
Pete O'Hanlon15-Jun-07 4:31
mvePete O'Hanlon15-Jun-07 4:31 
Questionpermission [modified] Pin
p_14-Jun-07 23:40
p_14-Jun-07 23:40 
AnswerRe: permission Pin
Colin Angus Mackay14-Jun-07 23:49
Colin Angus Mackay14-Jun-07 23:49 
AnswerRe: permission Pin
Colin Angus Mackay14-Jun-07 23:57
Colin Angus Mackay14-Jun-07 23:57 
QuestionTwo fields can't repeat Pin
N a v a n e e t h14-Jun-07 22:54
N a v a n e e t h14-Jun-07 22:54 

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.