Viewing 15 posts - 151 through 165 (of 337 total)
Matt,
I didn't think you could use an Instead Of Trigger like that. I thought that if I chose an "Instead Of" trigger that the action supplied by that triggger would...
May 9, 2008 at 6:24 am
tbeadle,
Thanks for the reply. I never thought of a unique combo index. I guess that would work the same as a constraint though? Wouldn't it?
In this case the uniquness only...
May 8, 2008 at 5:24 am
Serigy,
Thanks for the reply everyone.
The problem is this unqiue data enforcement only applies to one RefType in the table, not all of them. If I understand Unique Constraints correctly what...
May 8, 2008 at 5:21 am
Gila,
I was wondering about that. I almost tried it for the heck of it but I figured you'd have to supply a BEGIN TRAN somewhere which I wasn't so I...
May 7, 2008 at 1:35 pm
I sort of did that with the report that contains only the one week of data. Because I know the report runs on only Saturda I subtract 7 days from...
April 2, 2008 at 12:32 pm
Week of the year as defined by SQL datepart(wk,Date).
I'll be running a call count report by week and each day from that week for sales agents. I made a Cross...
April 2, 2008 at 11:58 am
I edited my post so the data would appear on each line instead of looking like it was tab delimited.
Actually this file would only contain that amount of data. It...
March 31, 2008 at 11:52 am
Hey Matt,
If we keep running into each other like this your just going to have to give me your phone number!
It's a txt file. It's a little different than a...
March 31, 2008 at 11:14 am
Thanks for the links... I'll check em out.
The weird thing is the Rows are all terminated with the ^
Not sure how that'll afffect it. I'll read about it....
March 27, 2008 at 11:11 am
Thanks for the info.
Unfortunately I haven't had any luck with the updating. Maybe it's just a caveat of that type of Cursor. The update is called it just won't...
March 26, 2008 at 7:08 am
I'll get you some more details. I have plenty of cursors that operate with the same logic so if I can figure out how to eliminate this one I'm sure...
March 25, 2008 at 2:15 pm
Trader Sam... I haven't run profiler yet but I'll try that. The update runs but it just doesn't actually update that row. I mentioned earlier that I did a blanket...
March 25, 2008 at 11:59 am
Thanks for the replies.
I have some questions but they'll have to wait until after a conference call I have. Thanks again.
March 25, 2008 at 11:46 am
Okay I trimmed the proc down and included only the cursor portion so it was a little less lengthy.
--Get BatchControl Number
BEGIN
INSERT INTO t_210_BatchControl (Customer,BatchStatus) VALUES (@CustomerName,'Gathering Invoices')
SET @ControlNumber =...
March 25, 2008 at 6:54 am
Okay you asked for it!!!! 🙂
March 25, 2008 at 6:44 am
Viewing 15 posts - 151 through 165 (of 337 total)