Viewing 15 posts - 7,456 through 7,470 (of 7,636 total)
Looks like a bug to me.
March 19, 2008 at 12:06 am
No, SQL Server Browser is a service that tells clients what instances are available and where they are.
March 18, 2008 at 9:32 pm
I think that you might also be missing a plus sign ("+") between these two lines:
'and'+ '('+ 't.trantype=''T'''+ 'or t.trantype=''D'''+')'
'and(t.trandate>='+@@FortnightEndDate-13+'and t.trandate=' + @@FortnightEndDate +')'
March 18, 2008 at 7:24 pm
Lynn Pettis (3/18/2008)
March 18, 2008 at 4:45 pm
Wow, that's an awful lot of heat for giving a one line answer to 2 or 3 day old question.
Seriously though, I cannot see why I should judge a whole...
March 18, 2008 at 4:22 pm
Sorry, I haven't done SMO as CLR yet, just as a client call from a regular .net program.
March 18, 2008 at 6:38 am
Ah well, if you're sure you've got all of the transaction history, then I guess I could add a few lines to give you Closing_Balance:
With DailyTrans( TransDate, TotalDeposits, TotalWithdrawls...
March 17, 2008 at 9:54 pm
Check out this query/view: http://www.sqlservercentral.com/scripts/tables/62545/
I'd recommend showing the query plan before execution.
March 17, 2008 at 9:03 pm
You cannot calculate a Closing_Balance without an Opening_Balance, only a Net_total.
Try this:
Select TransDate,
Sum( Case TransName When 'Deposit' Then amount Else 0.0 End ) as TotalDeposits,
Sum( Case TransName When...
March 17, 2008 at 8:53 pm
I agree with you Matt, that's why the code changes that I posted report the actuall data-type of the Program parameter whenever anything goes wrong.
March 17, 2008 at 4:11 pm
This is probably using the wrong (non-optimal) query plan because your parameters are changing.
Two ways to fix this as far as I know:
1) Add WITH RECOMPILE to the stored procedure.
2)...
March 17, 2008 at 3:11 pm
Like this:
Select SUM(
DATALENGTH(col1)
+ DATALENGTH(col2)
+ ...) As [TotalBytes]
From order
Where order_id = @customer_order_id
Repeat for all relevant tables and add them up.
March 17, 2008 at 3:01 pm
Error-handling I can do, however, Error-Reporting I do not know how to do within Reporting Services.
Here is your code rewritten with error-handling and standard WinForms error-reporting. You should have...
March 17, 2008 at 2:52 pm
Question (for anyone):
roy.tollison (3/17/2008)
select * from detail
where date >= :start_date and date <= :end_date and
status <> 'Successful'
What does the colon (":") on these names (":end_date") mean? They generate a...
March 17, 2008 at 2:30 pm
Viewing 15 posts - 7,456 through 7,470 (of 7,636 total)