dbTalk Databases Forums  

QA - Debugger

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss QA - Debugger in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Leonard Poon
 
Posts: n/a

Default QA - Debugger - 06-09-2004 , 09:29 PM






How do I input a blank but not NULL value into a varchar parameter during
sproc debugging?

It seems that no matter I typed ('') / '' or leave it blank. It still not a
value that I wanted for the params.

LeonardP



Reply With Quote
  #2  
Old   
Morgan
 
Posts: n/a

Default Re: QA - Debugger - 06-10-2004 , 02:42 PM






Have you tried initializing the parameter to '' when it is declared? If no
value is provided, it uses the '' for it's value.
Ex: @P1 varchar(10) = '', @P2 varchar(5), etc...

"Leonard Poon" <leonardpoon (AT) hotmail (DOT) com> wrote

Quote:
How do I input a blank but not NULL value into a varchar parameter during
sproc debugging?

It seems that no matter I typed ('') / '' or leave it blank. It still not
a
value that I wanted for the params.

LeonardP





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.