Viewing 15 posts - 3,196 through 3,210 (of 6,486 total)
Peso (5/23/2008)
Well... At least OP can find the answer "Huh?" and actually pick up Books Online and read about OUTPUT.
Oh - agreed. I wasn't taking a shot at your...
May 23, 2008 at 8:48 am
Use a tally table for that. It's a lot more efficient:
http://www.sqlservercentral.com/articles/TSQL/62867/%5B/url%5D
May 23, 2008 at 8:42 am
Peso (5/23/2008)
You can "cheat" if OUTPUT operator will do.
And that's the long version:)
May 23, 2008 at 8:37 am
In short - no. CTE's are designed to only apply to the one statement.
May 23, 2008 at 8:33 am
No - you wouldn't have to add anything else. Just like a derived column does, this script component would "add" a new column to the list of available items....
May 23, 2008 at 8:16 am
I'd agree with GSquared. You need both, and both are equally important. You need the innovators to push things along, give us better solutions, and you then need...
May 23, 2008 at 8:11 am
You can use a simple script component to number the rows as well. This assumes that the input table is "nicknamed" input0, and that the script component outputs a...
May 23, 2008 at 7:43 am
that would mean that you have some numbers that are larger that 999. You'd want to make the numeric "larger", so that it can accomodate the number of digits...
May 23, 2008 at 7:37 am
This is an "ordinal rank" type of question. Take a look at this article - should give you what you need to pursue in 2000:
http://www.sqlservercentral.com/articles/Advanced+Querying/61716/%5B/url%5D
May 23, 2008 at 7:35 am
Mark's right. Your syntax performs an INTEGER division, and once a result is derived (3), the result is cast to numeric. Without casting to a numeric first (even...
May 23, 2008 at 7:32 am
Is the insert actually inserting any data? Triggers, etc. still trigger if no data qualifies.
May 23, 2008 at 7:03 am
To add to the list of questions:
..are we talking full weeks (fully circumscribed within the month)? weeks that START within a month/weeks that END within a month?
May 22, 2008 at 5:07 pm
RICHTER (5/22/2008)
May 22, 2008 at 4:29 pm
You need a way to correlate the rows in the AS400 data to the rows in the SQL Server data. In other words - you need some combination of...
May 22, 2008 at 3:02 pm
Viewing 15 posts - 3,196 through 3,210 (of 6,486 total)