Viewing 15 posts - 16 through 30 (of 104 total)
KBSK (10/3/2016)
SELECT t1.SubscriptionID, t1.NotificationTypeID
, t2.NotificationCriteria--xml field (for notificationTypeID = 12, the length of xml field is 12000 characters)
...
with statistics io set to on
(2045 row(s) affected)
Table 'Subscription'. Scan count 2, logical...
October 3, 2016 at 6:50 am
GilaMonster (10/3/2016)
Hmm... Odd.How large are the XML columns being returned by that query? (use the DataLength() function)
NotificationCriteria is 16370 (constant for that 1 record) (this is the one having high...
October 3, 2016 at 3:54 am
Alternative 1:
Also, if I try to get the @NotificationCriteria xml part into a variable (it can only be 1 record per typeID)
This gets rid of lob logical reads. However, this...
October 3, 2016 at 3:49 am
p.s. Are you sure you want the potentially missing and duplicate rows that nolock allows?
Yes, at this time.
Execution plan is attached (note, it has more columns than I trimmed earlier)
October 3, 2016 at 3:36 am
The setup is complete.
When I test with the following statement, 8 SAME records are inserted.
raiserror ('working great',16,1) with log
Everytime I run, 8 records are being inserted. Is it...
August 21, 2014 at 3:31 am
Jeff Moden (8/9/2010)
KBSK (8/9/2010)
its better i would've gone through SSIS approach...Now i got a bad impression 🙁
Thanks,
KB
Ummm... are you saying that other people have a bad impression of you because...
August 9, 2010 at 11:53 pm
liesl.fourie (8/5/2010)
File to import resides on network machine (UNC...
August 9, 2010 at 1:41 am
Jeff Moden (8/5/2010)
KBSK (8/5/2010)
KBSK (8/4/2010)
Jeff Moden (8/2/2010)
August 6, 2010 at 6:38 am
KBSK (8/4/2010)
Jeff Moden (8/2/2010)
August 5, 2010 at 8:11 am
Jeff Moden (8/2/2010)
August 4, 2010 at 11:59 pm
Jeff Moden (8/2/2010)
That's not true if you use a proper staging table as the target of the BULK INSERT.
Yes, its a Windows Authentication(for every one).
Could you please clarify on staging...
August 2, 2010 at 7:56 am
Jeff Moden (7/28/2010)
If the structure of the text file is known, BULK INSERT would probably be your best bet. Doesn't require ad hoc queries to be enabled.
Thank you.
I dono...
August 1, 2010 at 11:48 pm
Hi,
I did it....
but at the cost of creating two temporary tables inside a trigger...also with cursor....
one for INSERTED and other for DELETED...
i was forced to create temp tables so that...
July 12, 2010 at 12:40 pm
Mike01 (7/12/2010)
Are all the updates performed through stored procedures or are they performed outside the database?
Hi Mike,
updates are being done outside the database through a VC++ application for which...
July 12, 2010 at 9:43 am
Is scripting and pasting in the trigger the only way to achieve this?
Thanks,
KB
July 9, 2010 at 5:43 am
Viewing 15 posts - 16 through 30 (of 104 total)