Viewing 15 posts - 1,471 through 1,485 (of 5,590 total)
GSquared (4/20/2011)
GilaMonster (4/20/2011)
LutzM (4/20/2011)
April 20, 2011 at 1:00 pm
April 20, 2011 at 11:01 am
Well, what you have is one of the standard date formats (20/120). I guess what you need is to pick which one you actually want... this might help you out:
SET...
April 20, 2011 at 10:58 am
Koen Verbeeck (4/20/2011)
WayneS (4/20/2011)
Brandie, thanks for calling me on this. You're absolutely right.You were probably acting like your avatar when you were reading Celko's post 😀 😉
Well, yeah, but...
April 20, 2011 at 8:29 am
;
WITH cteAccountOrder (ColumnName, ColumnOrder) AS
(
-- the preferred sorting order when > 2 accounts in a row
SELECT 'Acc1', 1 UNION ALL
SELECT 'Acc3', 2 UNION ALL
SELECT 'Acc2', 3 UNION ALL
SELECT 'Acc4', 4
),...
April 20, 2011 at 8:08 am
What you are looking for is to PIVOT the rows into columns. Please check out the two articles linked to in my signature dealing with CROSS-TAB or PIVOT tables: Parts...
April 20, 2011 at 7:12 am
Brandie Tarvin (4/20/2011)
WayneS (4/19/2011)
Greg Edwards-268690 (4/19/2011)
GSquared (4/19/2011)
Lynn Pettis (4/19/2011)
And once again Celko sticks his nose where it really wasn't needed. The OPs question had already been answered.
And Joe's answer,...
April 20, 2011 at 6:41 am
Just to make sure you understand... the temporary tables still physically reside in tempdb. They still show up in tempdb.sys.tables and tempdb.sys.columns (indexes, constraints, etc.) They are just of the...
April 19, 2011 at 7:53 pm
Greg Edwards-268690 (4/19/2011)
GSquared (4/19/2011)
Lynn Pettis (4/19/2011)
And once again Celko sticks his nose where it really wasn't needed. The OPs question had already been answered.
And Joe's answer, while demanding that...
April 19, 2011 at 3:29 pm
Edit: in hindsight, I was inappropriate. Comments removed.
April 19, 2011 at 3:28 pm
NP. After you have tested everything out, please respond back with how things are going. (BTW, I only tested this on a SQL 2008 box, but I believe that it...
April 19, 2011 at 3:18 pm
MV,
If you're willing to help us help you, I think we can come up with something.
What I need is for you to read the first article in my signature, then...
April 19, 2011 at 3:14 pm
Look at the two links in my signature dealing with Cross-Tabs and Pivot tables. Part 2 covers dynamic pivoting.
April 19, 2011 at 3:04 pm
Viewing 15 posts - 1,471 through 1,485 (of 5,590 total)