Viewing 15 posts - 3,796 through 3,810 (of 5,393 total)
Thanks for the feedback, George.
I'm still facing the problem and I checked the maintenance plan. It sets fillfactor 90% as you mentioned.
Let me ask you, since I'm not expert on...
-- Gianluca Sartori
October 14, 2010 at 9:20 am
Ehm... my function doesn't seem to return the correct results.
Let me work on it a bit.
-- Gianluca Sartori
October 14, 2010 at 9:07 am
You could also try the ITVF version:
CREATE Table dnszone (
alias varchar(50),
dnsname varchar(50)
)
INSERT INTO dnszone
SELECT '1.1.1.1', 'dummydummy.uk'
UNION...
-- Gianluca Sartori
October 14, 2010 at 8:50 am
[EDIT] I misread your question, post removed.
-- Gianluca Sartori
October 14, 2010 at 8:04 am
I think he meant COALESCE(@result, '')
-- Gianluca Sartori
October 14, 2010 at 7:30 am
DBCC FREESYSTEMCACHE('ALL') doesn't shrink tempdb, but deallocates all interal objects in tempdb, so that you can shrink it.
Until internal objects are deallocated, you can't shrink tempdb under the size in...
-- Gianluca Sartori
October 14, 2010 at 7:02 am
I don't think you can.
sp_start_job doesn't actually start the job, but tells SQLAgent that there's a start request and then returns immediately.
I think you could add a sleep...
-- Gianluca Sartori
October 14, 2010 at 6:33 am
You could use application locks:
http://www.sqlteam.com/article/application-locks-or-mutexes-in-sql-server-2005
-- Gianluca Sartori
October 14, 2010 at 6:25 am
OK, so you just have to query sysjobservers:
SELECT last_run_outcome -- 0 = Fail
...
-- Gianluca Sartori
October 14, 2010 at 6:04 am
concatenate all returned values.
Doesn't look to me like a great idea. Consider changing the function from scalar to ITVF.
Anyway, you can use something like this:
SET @concatenatedString =
...
-- Gianluca Sartori
October 14, 2010 at 4:30 am
I think you will have to add that column to your report from an appropriate table, mapping countries with currencies.
-- Gianluca Sartori
October 14, 2010 at 4:19 am
The query returns 1 when the input value is longer than 4 char (len(ltrim(rtrim(@vEmail)))>4) and contains the "@" char (patindex('%@%',@vEmail)>1).
PATINDEX returns the offset in the input string where the search...
-- Gianluca Sartori
October 14, 2010 at 3:47 am
These procedures should help.
-- Returns the status of each job
EXECUTE master.dbo.xp_sqlagent_enum_jobs 1, SUSER_SNAME
-- Returns the last execution outcome
EXECUTE msdb.dbo.sp_help_job
The first one is undocumented, but you should find some documentation with...
-- Gianluca Sartori
October 14, 2010 at 3:23 am
Yes, Nick, that's the idea behind.
SERVER1 - PROCESSING JOB:
STEP1 - Check if TRANSFER JOB is running and wait for its completion.
STEP2 - Process Data
SERVER1 - TRANSFER JOB:
STEP1 - Transfer...
-- Gianluca Sartori
October 14, 2010 at 1:20 am
Ninja's_RGR'us (10/13/2010)
SET @RND = (SELECT CAST(RAND() * 60 AS INT))
...
...
-- Gianluca Sartori
October 13, 2010 at 9:16 am
Viewing 15 posts - 3,796 through 3,810 (of 5,393 total)