Click here to Skip to main content
15,905,612 members
Home / Discussions / Database
   

Database

 
GeneralPrint Pin
deanoA12-Aug-03 15:35
deanoA12-Aug-03 15:35 
GeneralRe: Print Pin
Mike Dimmick12-Aug-03 22:43
Mike Dimmick12-Aug-03 22:43 
GeneralSQL help for a newbie~ Pin
DEWright_CA12-Aug-03 10:20
DEWright_CA12-Aug-03 10:20 
GeneralRe: SQL help for a newbie~ Pin
jeff_martin12-Aug-03 10:47
jeff_martin12-Aug-03 10:47 
GeneralRe: SQL help for a newbie~ Pin
DEWright_CA12-Aug-03 11:03
DEWright_CA12-Aug-03 11:03 
GeneralRe: SQL help for a newbie~ Pin
jeff_martin12-Aug-03 11:16
jeff_martin12-Aug-03 11:16 
GeneralRe: SQL help for a newbie~ Pin
Arjan Einbu12-Aug-03 13:12
Arjan Einbu12-Aug-03 13:12 
GeneralRe: SQL help for a newbie~ Pin
Arjan Einbu12-Aug-03 13:27
Arjan Einbu12-Aug-03 13:27 
Probably a problem with some of the values beeing NULL. Any string that is added to NULL (and vice versa) will give the answer NULL, if not otherwise set up in either database options or connection specific options.

You can decide the behaviour of SQL Server when adding strings with NULL. The settings for this come in two forms. One for setting it for one specific connection:
SET CONCAT_NULL_YIELDS_NULL OFF

And one for setting the default for the database as a whole, and all connections to it (unless a connection specific setting reverses this):
EXEC sp_dboption 'some_database', 'concat null yields null', 'FALSE'

The two examples above, both set up SQL Server to treat NULL as an empty string when adding to other strings.
See MS SQL2K BOL for more info on this ("CONCAT NULL YIELDS NULL")...
GeneralADO and 'Unhandled exception in <application> (MSDART.DLL) 0xC0000005: Access Violation' Pin
KalliMan12-Aug-03 1:40
KalliMan12-Aug-03 1:40 
GeneralRe: ADO and 'Unhandled exception in <application> (MSDART.DLL) 0xC0000005: Access Violation' Pin
Steve S12-Aug-03 1:52
Steve S12-Aug-03 1:52 
GeneralRe: ADO and 'Unhandled exception in <application> (MSDART.DLL) 0xC0000005: Access Violation' Pin
KalliMan12-Aug-03 4:35
KalliMan12-Aug-03 4:35 
GeneralRe: ADO and 'Unhandled exception in <application> (MSDART.DLL) 0xC0000005: Access Violation' Pin
Steve S12-Aug-03 5:40
Steve S12-Aug-03 5:40 
GeneralI thing, i found my solution. Pin
KalliMan12-Aug-03 5:49
KalliMan12-Aug-03 5:49 
GeneralI have an Error message, plz help Pin
Exceter11-Aug-03 17:01
Exceter11-Aug-03 17:01 
GeneralRe: I have an Error message, plz help Pin
Exceter11-Aug-03 17:49
Exceter11-Aug-03 17:49 
Generalprint Pin
deanoA11-Aug-03 16:24
deanoA11-Aug-03 16:24 
GeneralDatabase question Pin
Grindorin11-Aug-03 14:23
Grindorin11-Aug-03 14:23 
GeneralRe: Database question Pin
Arjan Einbu12-Aug-03 10:23
Arjan Einbu12-Aug-03 10:23 
GeneralRe: Database question Pin
Grindorin13-Aug-03 14:18
Grindorin13-Aug-03 14:18 
GeneralQuestion: using multi-thread in ADO.Net & C# Pin
yyf11-Aug-03 9:14
yyf11-Aug-03 9:14 
GeneralRe: Question: using multi-thread in ADO.Net & C# Pin
Mike Dimmick11-Aug-03 11:23
Mike Dimmick11-Aug-03 11:23 
GeneralDatabase Pin
Capper11-Aug-03 8:05
Capper11-Aug-03 8:05 
QuestionHow do i access different databases Pin
Venkatraman11-Aug-03 2:38
Venkatraman11-Aug-03 2:38 
AnswerRe: How do i access different databases Pin
Mike Dimmick11-Aug-03 3:59
Mike Dimmick11-Aug-03 3:59 
GeneralDeleted RowState and the XmlDataDocument... Pin
b33rdy11-Aug-03 0:31
b33rdy11-Aug-03 0:31 

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.