Viewing 7 posts - 1 through 7 (of 7 total)
I work in goverment, and DBA is the cheap employee but of the organization, above of that employee this the secretary of the manager/boss.
Yes, that is crazy, because that employee...
June 25, 2008 at 11:15 am
I don't now,
but
you try the triggers?
January 5, 2006 at 9:53 am
CREATE FUNCTION noleftzero(@word varchar(20))
RETURNS varchar(20)
AS
BEGIN
WHILE PATINDEX('0%', @word) = 1
BEGIN
set @word = right(@word,len(@word)-1)
END
RETURN(@word)
END
go
/*************/
SELECT dbo.noleftzero('L0001AA') as nozero
July 5, 2005 at 10:05 am
What you think about a function?
CREATE FUNCTION noleftzero(@word varchar(20))
RETURNS varchar(20)
AS
BEGIN
WHILE PATINDEX('0%', @word) = 1
BEGIN
set @word = right(@word,len(@word)-1)
END
RETURN(@word)
END
go
/*************/
SELECT dbo.noleftzero('L0001AA') as nozero
I'm not a expert but a think this...
July 5, 2005 at 10:04 am
try :
selec * from tableA with HOLDLOCK
/*any procesess and others users try to access this tableA but they can't.*/
Update tableA set field='tutu' where id=1
commit tran
/*now others users try to access...
May 12, 2005 at 11:02 am
Viewing 7 posts - 1 through 7 (of 7 total)