Viewing 15 posts - 48,841 through 48,855 (of 59,093 total)
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
If it's been 2 years since the move and everything else is moving smartly, then it could be that the code for the reports just wasn't written is a scalable...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 5:49 pm
I believe the question is how to load the Word file into the VARCHAR(MAX) element.
And, yes, I agree... it's probably better to store the name of the file in a...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 5:37 pm
bakerbill (8/9/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 5:34 pm
Waseem Jaleel (7/21/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 5:28 pm
A CTE is nothing more than a "derived table" just like a subquery in a FROM clause would be. The big differences between itself and a "derived table" is...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 5:26 pm
Heh... spot on, actually. Sergiy is absolutely correct.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 3:51 pm
Viewing 15 posts - 48,841 through 48,855 (of 59,093 total)