Viewing 15 posts - 20,461 through 20,475 (of 22,202 total)
It's not an alias you're looking for but some formatting. Try changing to this:
CAST(SizeInGigs=floor( backup_size/1024000000) AS VARCHAR) + ' GB'
An alias is a way of masking or changing a...
May 6, 2008 at 6:26 am
The only thing I can think of would be to lower the cost threshold for parallelism. But then you're likely to see multiple threads in queries that will not benefit...
May 6, 2008 at 6:23 am
onlybemine (5/6/2008)
Its ASP Website & i am hardly using stored proceduer....Its old done websit with classic ways of Inline Coding..........
I nornally wouldn't pile on to something like this with a...
May 6, 2008 at 6:17 am
What about trying it like this:
select * from customertable where customercode = '01042'
If customercode is a string, you need to wrap the number being passed so that it's a string...
May 6, 2008 at 6:14 am
I didn't read through everything, but you are issuing DDL commands within your procedure which will cause recompiles of the procedure while it executes. That may not be the cause,...
May 6, 2008 at 5:59 am
Matt Miller (5/5/2008)
Jeff Moden (5/2/2008)
Matt Miller (5/2/2008)
Grant Fritchey (5/2/2008)
I have to ask though, what's drowning breath exercise? While we...
May 5, 2008 at 9:05 am
It depends. All the data is stored in tables. So even when you query a view, except for materialized views, you're querying the tables that make up the view. The...
May 5, 2008 at 6:29 am
Maybe I need to clarify that. I hate out of control recompiles. On rare occasions I've found queries that benefit from having WITH RECOMPILE attached to them so that you...
May 5, 2008 at 6:16 am
Volunteer to build a database for the local church, community group, Boy/Girl Scout troop, soup kitchen, community farm... Whatever. They can't pay you, but you can use actual user requirements...
May 5, 2008 at 6:00 am
Even if it's not RBAR, recompiles can cause queries to block themselves. See this link to identify what the cause is, if you're having a recompile. This MSDN article is...
May 5, 2008 at 5:55 am
Listen to Gail. Don't use these.
However, if you do, test, test, test, the queries to verify that you're actually getting usefulness out of them.
May 5, 2008 at 5:48 am
Viewing 15 posts - 20,461 through 20,475 (of 22,202 total)