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...
[font="Arial"]Halfbubble ------------
You just can't do this stuff unless you're at least half a bubble off center.[/font]
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?
[font="Arial"]Halfbubble ------------
You just can't do this stuff unless you're at least half a bubble off center.[/font]
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.
[font="Arial"]Halfbubble ------------
You just can't do this stuff unless you're at least half a bubble off center.[/font]
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',
...
[font="Arial"]Halfbubble ------------
You just can't do this stuff unless you're at least half a bubble off center.[/font]
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 =...
[font="Arial"]Halfbubble ------------
You just can't do this stuff unless you're at least half a bubble off center.[/font]
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.
[font="Arial"]Halfbubble ------------
You just can't do this stuff unless you're at least half a bubble off center.[/font]
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.
[font="Arial"]Halfbubble ------------
You just can't do this stuff unless you're at least half a bubble off center.[/font]
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....
[font="Arial"]Halfbubble ------------
You just can't do this stuff unless you're at least half a bubble off center.[/font]
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....
[font="Arial"]Halfbubble ------------
You just can't do this stuff unless you're at least half a bubble off center.[/font]
February 26, 2009 at 12:18 pm
Given that there are only a couple dozen options here, I'm using a big CASE.
[font="Arial"]Halfbubble ------------
You just can't do this stuff unless you're at least half a bubble off center.[/font]
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...
[font="Arial"]Halfbubble ------------
You just can't do this stuff unless you're at least half a bubble off center.[/font]
February 20, 2009 at 12:10 pm
Who ate the figures?
All I get is blue boxes :crying:
[font="Arial"]Halfbubble ------------
You just can't do this stuff unless you're at least half a bubble off center.[/font]
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...
[font="Arial"]Halfbubble ------------
You just can't do this stuff unless you're at least half a bubble off center.[/font]
October 11, 2008 at 6:52 am
Apparently, you just leave a blank in your text file between the tabs;)
[font="Arial"]Halfbubble ------------
You just can't do this stuff unless you're at least half a bubble off center.[/font]
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;)
[font="Arial"]Halfbubble ------------
You just can't do this stuff unless you're at least half a bubble off center.[/font]
March 4, 2008 at 7:56 am
Viewing 15 posts - 31 through 45 (of 52 total)