Ask a Question related to Dreamweaver AppDev, Design and Development.
-
j289243 #1
VB.NET, Stored procedure, NULL
Hi
Help with this problem would be appreciated.
I have a stored procedure with default NULL parameters which should allow all
items to be listed if All on the drop down list is chosen.
The problem is that if All is chosen no records are returned.
I think i have traced the problem back to the parameter value within the MM
stored procedure code that never sends a NULL value into the stored procedure.
<Parameter Name="@*******" Value='<%# IIf((Request.QueryString("*******") <>
Nothing), Request.QueryString("*******"), "NULL") %>' Type="VarChar"
Direction="Input" />
I have tried the following code which works when i test the stored procedure
within Dreamweaver but it throws an error when i test the page.
IIf((Request.QueryString("*******") <> Nothing),
Request.QueryString("*******") IS System.DbNull.Value )
Am i doing something stupid?
Regards
J
j289243 Guest
-
Passing null into a stored procedure
I have a survey form with both checkboxes and radio buttons... when storing the form, there are occassions that I need to store a NULL in the DB and... -
Using a stored procedure
I am trying to pass a ProdID to a stored procedure, but I get an error: Error Executing Database Query. Procedure 'PriceBreak' expects... -
NULL in search stored procedure, VB.NET
Hi I am using a stored procedure to search a single table with "COALESCE(@param,param)" but the NULL default value is being ignored. I think... -
help with a stored procedure
I am new to postgres stored procedures and would like a little help. My function basically takes 2 arguments and inserts data into a table from a... -
#19841 [Opn->Fbk]: RPC stored procedure with many columns return null value
ID: 19841 Updated by: sniper@php.net Reported By: tonyho at fairex dot com -Status: Open +Status: ...



Reply With Quote

