Viewing 15 posts - 31 through 45 (of 52 total)
For that, I make the OrderID an internal column the users never see. This way, they'll never update it. Then, for the foreign key, specify Enforce Foreign Key Constraints and...
July 22, 2009 at 7:01 am
Do you then build in index on the "foreign key" column, or does the foreign key constraint take care of that?
July 21, 2009 at 8:02 am
Just rescued me! I had one stuck in single user mode. Don't know how it got that way, but now it's fixed.
June 30, 2009 at 8:40 am
The End of the Matter:
ALTER PROCEDURE [dbo].[StartBookingReminders]
-- Add the parameters for the stored procedure here
@RunsEvery Int,
@ServerName VARCHAR(30),
@DatabaseName VARCHAR(128)
AS
BEGIN
Exec dbo.StopBookingReminders
exec msdb.dbo.sp_add_job @job_name = 'CS-Booking_Reminders',
...
March 5, 2009 at 4:26 pm
I tried adding msdb.dbo.sp_add_jobserver to my start procedure
ALTER PROCEDURE [dbo].[StartBookingReminders]
-- Add the parameters for the stored procedure here
@RunsEvery Int,
@ServerName VARCHAR(30),
@DatabaseName VARCHAR(128)
AS
BEGIN
Exec dbo.StopBookingReminders
exec msdb.dbo.sp_add_job @job_name =...
March 4, 2009 at 3:17 pm
Nope. The job isn't running. I don't find it listed in the sysjobhistory list, though it is in the sysjobs table.
March 3, 2009 at 3:21 pm
Oh. I get it... The users can specify their phone number and carrier as an email address and then database mail will work.
http://en.wikipedia.org/wiki/SMS_gateway#SMS_to_Skype
Scroll down about 1/2 way.
February 26, 2009 at 1:40 pm
Hmm. That's interesting, though not quite...
Maybe I just want to give the customers the option of having it text them...
Looks like what I really want is to send SMS messages....
February 26, 2009 at 1:28 pm
Here's what I did when somebody installed the server themselves and didn't remember what they put for the password...
I used the Server Management thingy to log in using windows authentication....
February 26, 2009 at 12:18 pm
Given that there are only a couple dozen options here, I'm using a big CASE.
February 23, 2009 at 6:23 am
I was just figuring that out 😀 MS kindly thinks I shouldn't be using EXEC inside a function...
I thought I'd simplify the task of writing a big stored proc by...
February 20, 2009 at 12:10 pm
Who ate the figures?
All I get is blue boxes :crying:
January 30, 2009 at 8:50 am
I like that view idea. Simpler than the format file. I also find that on some installations, the order of the columns in the database might be different. View will...
October 11, 2008 at 6:52 am
Apparently, you just leave a blank in your text file between the tabs;)
October 10, 2008 at 12:29 pm
That works! I knew I'd done that, but if I hadn't solved the problem in another 10 minutes, I'd have written my own UDF;)
March 4, 2008 at 7:56 am
Viewing 15 posts - 31 through 45 (of 52 total)