Viewing 15 posts - 35,296 through 35,310 (of 39,769 total)
I use a script in a DTS job to do this. No way I know of in SQL to easily do it.
February 6, 2004 at 4:41 pm
February 6, 2004 at 2:42 pm
Check the actual values in sysusers for your uid and sysobjects for the object id, then check syspermissions. See if you already ahve permissions
It could be because you are dbo.
February 6, 2004 at 9:20 am
The mail server here (Ssc.com) is W2K3 with SQL Sp3 on it. We're getting ready to install a 2nd server to handle the load with W2K3/SQL SP3 as well. Not...
February 5, 2004 at 10:07 am
A little off topic, but it was funny when I heard it. Glad you guys like it.
February 5, 2004 at 9:39 am
You need to call sp_start_job, but only the job owner can call this for a job.
February 4, 2004 at 12:46 pm
I'd say dual, but you'd really want to install on both, run some benchmark, like DBHammer (SQL2K resource kit) or MS Web App Stress Tool) and see what happens.
February 4, 2004 at 12:37 pm
I do not think you want a trigger to spawn a DTS triggers are part of the transaction and the DTS make take some time, which would slow down the...
February 4, 2004 at 12:36 pm
If the optimizer thinks that a large number of rows will be returned, then it may force a table scan.
February 4, 2004 at 12:35 pm
CREATE PROCEDURE dbo.procApptOVDetailUpdate (@nApptID int, @reason varchar, @cxrtime int)
AS
update ovd
set ovd.apptreasoncode = @reason SELECT
, cxrtime = @cxrtime
FROM ApptOVDetail ovd
WHERE ovd.AppointmentID=@nApptID
return
February 4, 2004 at 12:34 pm
If you want to run jobs owned by someone else, then I believe you need sysadmin permissions. From BOL (sp_startjob)
Execute permissions default to the public role in the msdb database....
February 3, 2004 at 4:34 pm
I believe that growth is a logged event and if the log is full, then you need to clear space before it can grow. Running a "backup transaction with no_log"...
February 3, 2004 at 10:31 am
I'd have to agree that not having anyone administer the SQL Server is a recipe for disaster. Despite it being easy to do, or relatively easy, you still need a...
February 3, 2004 at 10:30 am
This works for me:
create table MyTest
( levelno int
, custno varchar(20)
, part_seq int
)
go
insert MyTest select 1, 'A 251 620 01 87', 1
insert MyTest select 2, 'A 251 620 01 87', 2
insert MyTest...
February 3, 2004 at 10:26 am
Viewing 15 posts - 35,296 through 35,310 (of 39,769 total)