Viewing 15 posts - 2,476 through 2,490 (of 5,502 total)
Something like this?
;WITH cte AS
(
SELECT ROW_NUMBER() OVER(ORDER BY quote_date ) AS ROW, *
FROM #priceData
)
SELECT
cte1.*,
cte2.close_price AS Previous1,
cte3.close_price AS Previous2,
cte4.close_price AS Previous3,
cte5.close_price AS Previous4
FROM
cte cte1
LEFT...
December 5, 2010 at 3:53 am
Please post table def inclding foreign key refernces and some sample data as described in the first link in my signature. Also please post your expected output based on the...
December 5, 2010 at 3:22 am
Please don't cross post!
Replies at http://www.sqlservercentral.com/Forums/FindPost1030262.aspx
December 4, 2010 at 6:24 am
Please don't cross post!
Replies at http://www.sqlservercentral.com/Forums/FindPost1030262.aspx
December 4, 2010 at 6:24 am
Please don't cross post!
Replies at http://www.sqlservercentral.com/Forums/FindPost1030262.aspx
December 4, 2010 at 6:23 am
Edit: never mind. Misread the question
December 4, 2010 at 5:46 am
Another issue might be the table design by itself.
If you don't have a column that uniquely identifies a row, then your table structure isn't normalized.
The downside of it: you'll need...
December 4, 2010 at 2:45 am
amy26 (12/2/2010)
December 3, 2010 at 3:20 pm
amy26 (12/2/2010)
Cool thanks some good advice. So, setting the parallelism to zero means it won't be using any parallelism right?
Nope. The opposite.
Curently, you have it set to 1, meaning...
December 2, 2010 at 3:49 pm
amy26 (12/2/2010)
December 2, 2010 at 3:29 pm
Here are the ones I'm concerned about:
max degree of parallelism1
Are you sure to prevent parallel processing on the server level? Is the server mainly used for OLAP or OLTP processes?
Ole...
December 2, 2010 at 1:58 pm
samartel (12/2/2010)
I think what i'm going to do is actually redirect the file as an error. As GSquared...
December 2, 2010 at 1:33 pm
Craig Farrell (12/2/2010)
LutzM (12/2/2010)
You'd basically use a script component after your data...
December 2, 2010 at 12:36 pm
In that case, either an IIF statement or REGEX should help. (Google regex or IIF in ssis for details.)
You'd basically use a script component after your data import to remove...
December 2, 2010 at 12:27 pm
You might want to search this site for "string concatenate for xml path".
I'm sure FOR XML PATH will do the trick.
December 2, 2010 at 11:51 am
Viewing 15 posts - 2,476 through 2,490 (of 5,502 total)