Viewing 15 posts - 7,066 through 7,080 (of 7,636 total)
Also, suggest you post the Query Plan XML instead, which has better info for us.
April 27, 2008 at 11:48 pm
There's a Connect item on this open, and the feedback from Microsoft says there are no advantages and potential disadvantages, but it's in there for backwards compatibility. Personally I'm not...
April 25, 2008 at 4:11 pm
Please post the query plans for both.
April 25, 2008 at 3:31 pm
Andrew Shaw (4/25/2008)
But thats what I want, I want to pull the value from the table incase it has changed, instead of it being hard-coded in the formula.
But that cannot...
April 25, 2008 at 3:21 pm
Jeff Moden (4/25/2008)
rbarryyoung (4/24/2008)
April 25, 2008 at 2:55 pm
IceDread (4/24/2008)
Exactly where in your lawbook in usa does it state that you have to pay taxes?
I heard a rumor that it is actually not included in your law and...
April 25, 2008 at 6:41 am
because it gets its values from a table and table values can be changed.
I am not sure at this point what you can do about it.
April 25, 2008 at 6:16 am
Andrew Shaw (4/23/2008)
Thanks.Tried that and got this:
Cannot create index because the key column 'IX_CSD_NomIPTBLB' is non-deterministic
Ah, well, that is a diferent problem. I think that you might be able...
April 24, 2008 at 8:58 pm
I've been out on a job. Sorry for throwing this out there and running, but I hoped it could get you started...
Jeff Moden (4/24/2008)
April 24, 2008 at 8:50 pm
Like this:
(convert(char(4),dbo.fn_GetTLB()))
April 23, 2008 at 5:19 pm
Here's something to get you started:
Select S.session_id, S.host_name, S.program_Name, S.Login_name, R.request_id
, L.*
, r.start_time, r.status, r.Command, r.database_id, R.blocking_session_id, R.wait_type, R.wait_time
From sys.dm_tran_locks L
Join sys.dm_exec_sessions S on L.request_session_id = S.session_id
...
April 23, 2008 at 5:02 pm
GROUP BY .. WITH ROLLUP can usually get you there.
April 23, 2008 at 4:05 pm
sunshine (4/23/2008)
April 23, 2008 at 4:01 pm
Why not just do this?:
Select
SUM(Cast(DATALENGTH(C1) as BigInt)) as [C1]
, SUM(Cast(DATALENGTH(C2) as BigInt)) as [C2]
, SUM(Cast(DATALENGTH(C3) as BigInt)) as [C3]
, SUM(Cast(DATALENGTH(C4) as BigInt)) as [C4]
, SUM(Cast(DATALENGTH(C5) as BigInt)) as...
April 23, 2008 at 3:09 pm
In excel, copy your data, then in a new sheet, use Paste, Transpose to rotate your data.
From there, you should be able to get it into SQL Server and use...
April 23, 2008 at 2:37 pm
Viewing 15 posts - 7,066 through 7,080 (of 7,636 total)