Viewing 15 posts - 16 through 30 (of 77 total)
nvm ended up using multiple columns... somehow my boss thought that parsing 16,21,12|.1,.11,.11^53,54,55,56,57|.68 was harder than using 4 extra columns *shrug*
(still cant delete messages)
May 28, 2008 at 12:57 pm
I like your quote 🙂
thanks, worked! Need to add that snippet to my collection of very useful snippets.
May 1, 2008 at 8:19 am
the 2nd column can have any number of items in it, including just 1.
I hate when the seemingly simple tasks turn into muck.
May 1, 2008 at 7:56 am
The end result is going to be populated directly into an PDF. The user just wants to see the data, not have to manipulate it. It's part of...
February 7, 2008 at 2:23 pm
GilaMonster (12/5/2007)
December 6, 2007 at 8:45 am
Ill try the recompile when I get in the office (stuck in traffic on blackberry atm). That would explain why the execution plan looks seriously different on the 2nd...
December 6, 2007 at 7:03 am
I removed the order by... that was a throwback to bad SQL2000 habits
I can't really post the other two views...
the script snipet returned 46k rows. It completed...
December 5, 2007 at 2:38 pm
You're right of course, I ran out of time before I could do a proper post (should of just deleted it)
SELECT TOP (2147483647)
Portfolio= PortfolioCode
,[NAME]= TraderName
,[SECT]= CompType1
,CUSIP= SecurityIdentifier
,[TRD_DATE]= SystemTradeDate
,AMT= Quantity
,LONG_DESC=...
December 5, 2007 at 7:04 am
well I can't delete this so I might as well post my solution.
I had to cast some of the columns to varchar, not sure why it was coming back with...
October 31, 2007 at 9:29 am
I could only get part of it, dont know where to find the actual index names
SELECT DISTINCT
= OBJECT_NAME(OBJECT_ID), 'CLUSTERED'
FROM SYS.INDEXES
WHERE [TYPE]=1 and OBJECTPROPERTY(OBJECT_ID,'IsUserTable') = 1
UNION
SELECT...
October 10, 2007 at 3:16 pm
WITH CATEGORY(TYPE_1, RATING, BVALUE) AS
(
SELECT TYPE_1
,CASE RATING
WHEN 'AAA' THEN 'AAA'
WHEN 'AA' THEN 'AA'
WHEN 'AA+' THEN 'AA'
WHEN 'AA-' THEN 'AA'
WHEN 'A' THEN 'A'
WHEN 'A+' THEN 'A'
WHEN 'A+ /*-' THEN 'A'
WHEN 'A-'...
October 9, 2007 at 9:34 am
I just started a new job after being at my last one for 12 year. I went from a small company that was barely scraping by with a staff of...
July 23, 2007 at 7:02 am
Viewing 15 posts - 16 through 30 (of 77 total)