Viewing 7 posts - 46 through 52 (of 52 total)
Thanks,
we haven't spoktted anything exceptional in the logs.
Although there are far too many potential areas for security breeches here, we don't appear to have been victom to anything. The data...
June 6, 2006 at 6:47 am
The end specified in my example relates to the case statement:
begin
declare @AnswerText varchar(30),
@i int,
@email varchar(20),
@hearaboutus varchar(20)
select @i = 2,
@email = 'an.email@anaddress.com',
@hearaboutus = 'From a place'
SELECT AnswerText = CASE @i
when...
June 5, 2006 at 6:43 am
Hi,
there are 2 flavours of the CASE Syntax, I your example, i think this should do the trick:
SELECT AnswerText = CASE @i
when 1 then @email
when 2 then @hearaboutus.....
end
Hope this...
June 5, 2006 at 5:11 am
this should do the trick
declare @exec varchar(500),
@user varchar(200)
set @user = 'mymachine\vishal'
select @exec = GRANT EXECUTE ON mytest_sp TO ' + @user
exec (@exec)
June 2, 2006 at 9:18 am
Thanks Norene,
I assume that the folder "c:\Backups" needs to exist on the computer that SQL Server is running on?
When this goes into production I will be using a network drive...
June 2, 2006 at 6:18 am
try
insert into <table 1)
select * from <table 2>
where <condition>
Hope that helps
June 2, 2006 at 4:08 am
Viewing 7 posts - 46 through 52 (of 52 total)