R
Rich Wallace
Hi all,
I have the following string declaration/build that I need to pass to a SQL
Server 7.0 system.
Dim sInsUpdLotDate as string = "EXEC ins_upd_lot_date " & _
"'" & sLot & "', '" & sCostCenter & "', '" & _
dEstComp & "', '" & dTrenchDt & "', '" & dSalesRslDt & "'"
Sometimes I will receive a NULL value as one of my dates. I've looked over
the DBNull.Value but it looks like I would have an issue setting a NULL
value inside a string like I'm dong here.
I'm already in production so I can't make any major changes at this point so
can anyone give me an idea of how to do this??
TIA
-Rich
I have the following string declaration/build that I need to pass to a SQL
Server 7.0 system.
Dim sInsUpdLotDate as string = "EXEC ins_upd_lot_date " & _
"'" & sLot & "', '" & sCostCenter & "', '" & _
dEstComp & "', '" & dTrenchDt & "', '" & dSalesRslDt & "'"
Sometimes I will receive a NULL value as one of my dates. I've looked over
the DBNull.Value but it looks like I would have an issue setting a NULL
value inside a string like I'm dong here.
I'm already in production so I can't make any major changes at this point so
can anyone give me an idea of how to do this??
TIA
-Rich