Viewing 15 posts - 48,841 through 48,855 (of 59,099 total)
GSquared (8/11/2008)
On CLR, yes, it will be faster than the CTE on that.
Does anyone want to race? 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
August 11, 2008 at 5:20 pm
Um... no... according o the rules you gave, script 5 should include rowid # 11 because the promo-id went from 6 to 1.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 11:17 pm
Ok... I've tested all of your scenarios and they all came out like you said in the comments except the 5th one... and that's because you made a mistake... Row_ID...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 10:55 pm
yogesh.khaire (8/10/2008)
But i want fast Updation. when ever Data Inserted or updated in the Table i want to be insert that Data into...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 10:48 pm
...and thanks for the feedback! 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 10:45 pm
Did you test them with the code I gave you because it solves the two originals I posted just exactly as you stated the results should be.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 10:44 pm
You cannot use locking hints that way... period. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 10:31 pm
Ummm.... ok... how do you know it's supposed to insert into MSArcLong in the database you have setup?
The only other thing I can think of is that the app has...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 10:25 pm
Ummmm.... can't you at least give it a try on your own?
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 10:23 pm
Ah ha! I knew I had an example squirreled away somewhere. Of course, you can do it with a GUI using ADO and all that... but here's a...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 10:21 pm
No... the question is simple... you have a Word doc sitting in a directory somewhere... how do you load that file into a VARCHAR(Max) column (only one row, of course)...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 9:50 pm
Sure it is... you could do a running total of the length of each row +2 (for Cr/Lf) and key your export off that. See the URL below...
http://www.sqlservercentral.com/articles/Advanced+Querying/61716/
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 9:47 pm
yogesh.khaire (8/10/2008)
and there is no error in it.
because it is executed when data inserted through Query analyser.
Create Trigger Test on MSArcLong
For Insert,Update
As
Insert...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 9:43 pm
--===== First Data Scenario
TRUNCATE TABLE #MyHead
INSERT INTO #MyHead
(Row_ID,Promo_ID,[Desc])
SELECT '1','1','desc1' UNION ALL
SELECT '2','1','desc2' UNION ALL
SELECT '3','2','desc3' UNION ALL
...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 9:41 pm
Beer, Pool, Beer, work on house, Beer, work on garden, Beer, ride motorcycle, Beer, talk with good friends, Beer, fishing, Beer, answer questions on the forum, Beer, more pool, Beer,...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 5:55 pm
Viewing 15 posts - 48,841 through 48,855 (of 59,099 total)