SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Datetime Param default NULL


Datetime Param default NULL

Author
Message
yuvipoy
yuvipoy
SSCrazy Eights
SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)

Group: General Forum Members
Points: 9451 Visits: 1498
Hi
Is there a way to set NULL as default value in parameter for datetime column
I have three columns @id, @Sdate,@Edate .
In design i have choose the data type i have chosen @id as integer, @Sdate as date/time,@Edate as date/time
empty codes '' are not enabled for date/time data type.
for my requirement i need to pass as empty codes as @Sdate,@Edate

1. Is there a way to set NULL as default for datetime column parameter? in report builder it is enabling but when published default null check box is not checked, it is unchecked.
2. pass empty value in parameter for datetime column

PS: please dont ask for business logic behind this, i have more than columns as parameter, to ask i have said as 3 columns.

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search