Viewing 6 posts - 1 through 7 (of 7 total)
WayneS (4/27/2009)
zsysop (4/27/2009)
April 27, 2009 at 3:08 pm
Yeah i guess i do need to do 5 or more updates at once then. There are some procs with 20 params so i was looking for away around the...
April 27, 2009 at 11:49 am
Peso (4/27/2009)
(
@id int,
@name nvarchar(100),
@type nvarchar(6),
@add_date date,
@email varchar(50),
@phone int
)
as
set nocount on
UPDATEuser
setname=@name
, type=@type
, add_date=@add_date
, email =@email
, phone=@phone
WHEREid =@id
and (
name @name
or type @type
or add_date @add_date
or...
April 27, 2009 at 9:51 am
Okay that works but what if i were to pass in an invalid POST Direction and in the table it was null, then it would still match wouldnt it?
I...
August 28, 2008 at 1:54 pm
Okay so i tried that code and i still couldnt get a match.
Now i also tried a simple select statement and did a comparison between
if column is null and column...
August 28, 2008 at 11:59 am
Ah Thanks!
So would this be okay?
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[sp_GetStreetType]
(
@addrNumber [VarChar] (8),
@addrDirection [VarChar] (2),
...
August 28, 2008 at 11:10 am
Viewing 6 posts - 1 through 7 (of 7 total)