Viewing 15 posts - 3,931 through 3,945 (of 6,486 total)
Mike C (3/26/2008)
March 27, 2008 at 8:12 am
Adam Haines (3/27/2008)
SUM(CONVERT(NUMERIC(9,2),werksmassFM / (Sum_Lmenge.SumCol/ls.lmenge)* p_transpreis)) AS Rechnungsbetrag
This will only work if you use a group by in your query. You cannot perform aggregate functions
without a group by,...
March 27, 2008 at 8:08 am
Jeff Moden (3/27/2008)
March 27, 2008 at 7:51 am
Interestingly enough, they have the exact same type of document for 2005...
http://www.microsoft.com/sql/editions/enterprise/comparison.mspx#E4B
You're right though. Both documents are VERY slanted to show Standard edition in a negative light, or so...
March 27, 2008 at 7:49 am
EdVassie (3/27/2008)
You cannot install SQL Server 2000 on Vista.You can install some editions of SQL Server 2005 on Vista - Express, Workgroup, Developer.
MSDE 2000 can be installed and run in...
March 27, 2008 at 7:36 am
The OUTPUT clause is in the wrong place, too. that's one of the causes of your error.
It goes AFTER the affected columns list.
CREATE PROCEDURE [dbo].[Employee_Add]
...
March 27, 2008 at 7:14 am
Well - I wouldn't use either. I agree with Grant that a BREAK is not a great way to code it, and...#2 is wrong altogether (if you test for...
March 27, 2008 at 7:10 am
Like michael mentioned, it sounds like you're going to need to use some aggregate function to get rid of your "dupes". Since you ARE in access - perhaps consider...
March 27, 2008 at 6:56 am
Mike C (3/26/2008)
Matt Miller (3/26/2008)
You're right, XQuery does have a slightly higher learning curve than many other newer features in SQL Server 🙂 The CROSS APPLY and .nodes() method...
March 26, 2008 at 4:43 pm
Since you're using a derived column transformation before throwing it into the destination, that's the place you can tackle dropping out the invalid time markers. Same as described before...
March 26, 2008 at 4:28 pm
There are several very decent articles giong over how to build rather complicated SSIS data flows, right here on SSC.
http://www.sqlservercentral.com/Articles/SQL+Server+2005/SQL+Server+2005+-+SSIS/%5B/url%5D
One of the better ones as to being a step-by step...
March 26, 2008 at 4:23 pm
Isn't casting to a number (as was previously mentioned) the easiest AND fastest way to do this? Even if you have to cast it back to a char(15)? ...
March 26, 2008 at 4:17 pm
Christopher Ford (3/26/2008)
for each "section" I need to cross apply it to do what I want.
Example below:
SELECT
x.value('UnparsedName[1]', 'VARCHAR(20)') as Name
,l.value('@BusinessType', 'varchar(20)') as BusinessType
,CAST(CONVERT(varchar(20),l.query('HighBalanceAmount/text()')) as money)...
March 26, 2008 at 3:45 pm
Adam Haines (3/26/2008)
Thanks Matt sys.trace_events is much easier 🙂
What do you know - I actually gave the MS developers credit that they wouldn't just leave us hanging like that. ...
March 26, 2008 at 3:37 pm
Kenneth Fisher (3/26/2008)
March 26, 2008 at 1:37 pm
Viewing 15 posts - 3,931 through 3,945 (of 6,486 total)