Viewing 15 posts - 6,121 through 6,135 (of 7,481 total)
the problem is that these jobs are owned by a windows domain user ! ![]()
They get authorised every time the job is launched by sqlagent....
August 25, 2006 at 3:18 am
-those are also the only ones in use overhere
FYI with SQL2005 I altered -T1204 to -T1222 altough it was not mandatory
- we also alter the Audit level from none...
August 25, 2006 at 3:11 am
I completely overlooked the s.ord_num as being the sortordernumber you wanted to use. That's why I added my own ordercol containing 0 or 1.
how about this
select maintitle
from (
select -1 as...
August 24, 2006 at 8:15 am
in your case, the "go"-solution will not work !
You're stuck with Mike John's solution.
Maybe a "select @cnt" may serve you well enough...
August 24, 2006 at 6:52 am
how about :
select maintitle
from (
select 0 as ordercol, 'this book at top of the list' AS 'maintitle'
union
select 1 as ordercol, t.title AS 'maintitle'
from titles t, sales s
where t.title_id = s.title_id
)...
August 24, 2006 at 6:16 am
maybe the "dodgy" GO statement can help you out..
print 'myfirtsnotification'
go
work work work
go
print 'mysecond notification'
go
.....
Keep in mind when using the GO, you'll loose all declared variables (or have to redefine them...
August 24, 2006 at 6:04 am
you may want to refresh statistics before you go on ...
'-- Usage ' + db_name()...
August 24, 2006 at 5:19 am
- it's useless to create the index if there is only one value. The chance of it being used is fairly equal to 0
August 23, 2006 at 11:54 pm
you are always performing a full table scan because you did not provide an index for [ProducerId]
This way (b)locking and waits will occur !!
Jus create an index on...
August 23, 2006 at 6:06 am
- Is this meaning you want your column "workfunction" to be a bitmap ?
check out the implications !!
- http://www.sqlservercentral.com/columnists/dpoole/usingbitstostoredata.asp
- you would need a function with cursor (or temptb)...
August 23, 2006 at 5:24 am
Thats exactly what SQLAgent is doing ! ![]()
Enterprise Manager / Management / SQLAgent / Jobs
Create a new job, add a jobstep containing your SQLscript,...
July 28, 2006 at 5:37 am
Works fine overhere ...
CREATE TABLE [BillPayment] (
[billpaymentId] [int] IDENTITY (1, 1) NOT NULL ,
[billPaymentDate] [datetime] NULL ,
[newBillBalance] [float] NULL ,
[billAmount] [float] NULL ,
CONSTRAINT [PK_BillPayment] PRIMARY KEY CLUSTERED
(
[billpaymentId]
 
July 28, 2006 at 5:26 am
I like the article, but concering the newsequentialid ...
can someone find the flaw in my testquery which proves they'r not sequential ???
Declare
@test-2 table
July 28, 2006 at 12:15 am
...Do note that you CAN include varchar(max) fields in indexes but you cannot create and index on a varchar(max) field itself....
Indeed, including the varchar(max) column, you would aim for an...
July 27, 2006 at 12:39 am
Viewing 15 posts - 6,121 through 6,135 (of 7,481 total)