Viewing 15 posts - 26,071 through 26,085 (of 26,487 total)
As a consultant would say: It depends. If some columns are accessed or updated more frequently than others, it may make sense to vertically partition the table. It really comes...
April 24, 2007 at 9:01 am
Never had a reason to do what you are trying to do. When I started a job with sp_start_job, that was all I was interested indoing as I was doing...
April 23, 2007 at 2:30 pm
I know I am getting old, but this looks like your asking the same question again. After you start the job using sp_start_job, you will need to loop inside your...
April 23, 2007 at 1:31 pm
Only way I know, is to hard code the tablename inside the trigger.
April 23, 2007 at 1:27 pm
I would recommend putting up the $50.00 for SQL Server 2005 Developer Edition. It is well worth the investment!
April 20, 2007 at 9:00 am
Not sure about others, but I could use the DDL for your tables and some sample data and expected results so that i could do some testing.
April 20, 2007 at 8:55 am
Also, a default value is only inserted if you don't provide a value for that column. In your insert statement, a value is being provided, which defeats the purpose of...
April 19, 2007 at 12:37 pm
That was one of the options I was looking at, but I think I found what I wanted, and it was staring me in the face the whole time: the...
April 19, 2007 at 12:24 pm
Any help here would be appreciated.
Thanks
April 19, 2007 at 11:42 am
The reason you were getting a zero inserted is that '' converts to 0 when cast as an int. Try this:
select cast('' as int) -- the return value is 0
April 19, 2007 at 11:39 am
No. Do the proc the way I had it. the execute statement looks something like this then (read BOL to be sure of the syntax).
declare @myvalue int
exec dbo.Load_Audi_Excel @myvalue =...
April 18, 2007 at 12:24 pm
Humor me, try this and see if it does what you want:
CREATE PROCEDURE [dbo].[Load_Audit_Excel]
(@Return_Code int Output)
AS
BEGIN
SET NOCOUNT ON;
SELECT @Return_Code = count(*) FROM [Header$]
EXEC msdb.dbo.sp_start_job @job_name='Audit'
END
thanks
April 18, 2007 at 12:07 pm
Actually, two questions, after looking closer at the procedure, are you sure it works? Looks like the set and select for Result_Code are outside the procedure to me.
April 18, 2007 at 12:04 pm
Create the indexes with the data in place. It would take longer to reload the data to the tables if you created the indexes on empty tables, as it would...
April 18, 2007 at 11:56 am
Viewing 15 posts - 26,071 through 26,085 (of 26,487 total)