Viewing 15 posts - 4,111 through 4,125 (of 6,486 total)
Sure! coming right up...
select TransactionID,
sum(case when Comm.GrossOrNet...
March 18, 2008 at 8:42 am
Jeff Moden (3/18/2008)
March 18, 2008 at 8:37 am
Wow - I didn't even read the question correctly. Thanks Jeff for the wake-up there (pinging the caffeine IV).
I just came across this -
http://weblogs.sqlteam.com/mladenp/archive/2006/11/10/19546.aspx
It does seem to work...
March 18, 2008 at 7:43 am
As long as the system is small enough, and you are willing to spend the time at night - going UNC is certainly your call. I would still...
March 18, 2008 at 7:35 am
The only difference I can see between Decimal and Money data types is that Money has a fixed four digits after the decimal point, whereas the "regular" decimal is configurable....
March 18, 2008 at 7:26 am
DB_Newbie2007 (3/13/2008)
March 18, 2008 at 7:24 am
To echo GilaMonster's point - it's usally not a great idea to back up to a mapped drive/network drive. Even on a fast network - it's going to be...
March 18, 2008 at 7:20 am
How much data does that 12-month period represent? if that's small compared to the 2TB - it will be faster to copy out the stuff you want to keep...
March 17, 2008 at 10:20 pm
unfortunately - yes they can be. They're not terrible at times if the output is small - but since TVF's essentially are materialized as table variables - they can't...
March 17, 2008 at 10:03 pm
I don't see how this could work. You're passing in an ID (either character or integer) that identifies a program, and the function is expecting an object which IS...
March 17, 2008 at 3:33 pm
Jack Corbett (3/17/2008)
March 17, 2008 at 3:28 pm
To the best of my knowledge - they all have ServerProperty('licensingMode') set to DISABLED.
Of course - that also applies to dev edition (whether or not you got it through MSDN).
So...
March 17, 2008 at 3:20 pm
You're trying to back-door in what would be called dynamic SQL, which unfortunately requires being executed from EXEC or sp_executeSQL (both of which are prohibited in a function).
That being said...
March 17, 2008 at 12:20 pm
Trying to cast '00000000' will result in an error since it can't be converted to a date - so you will need to suppress them somehow or replace them with...
March 17, 2008 at 11:59 am
Viewing 15 posts - 4,111 through 4,125 (of 6,486 total)