Viewing 15 posts - 796 through 810 (of 887 total)
dndaughtery (9/8/2011)
September 8, 2011 at 2:50 pm
chris.stuart (9/8/2011)
I'm having a problem with regional settings in SSMS. I'm creating reports in SSMS which pulls the data from my server. On my PC the settings are set...
September 8, 2011 at 1:59 pm
Rem70Rem (9/7/2011)
September 7, 2011 at 1:57 pm
Interesting question, and BOL politely avoids being specific (http://msdn.microsoft.com/en-us/library/ms179917.aspx)
I guess you will have to assume that in the case where the IsTransferASCII property is set to false, no...
September 7, 2011 at 1:24 pm
joe_2110 (9/6/2011)
Is there anyother alternative I can achieve the same result without a partial cache lookup?
Regards,
Josh
The short answer to your question is yes...there are a few alternatives. If you are...
September 6, 2011 at 1:45 pm
thang_ngo_2002 (9/3/2011)
When I use SQL 2000, I monitor an Oracle system by SQL DTS, DTS contains 1 transform "select 1 from dual"...
September 3, 2011 at 9:19 am
You can choose to ignore all truncation errors (in the error output), but you would still have to do this for all source columns and IMO it is a very...
September 2, 2011 at 1:58 pm
GSquared (9/2/2011)
So, if ColA started out as a year ago, and ColC =...
September 2, 2011 at 11:01 am
On face-value, it seems like the while-loop will only be executed once...unless there is something else that happens between the update (maybe triggers) and the select inside the loop.
Not sure...
September 2, 2011 at 10:49 am
If-statements in queries could cause some sub-optimal execution plans. See the following for reference: http://sqlinthewild.co.za/index.php/2010/12/14/do-if-statements-cause-recompiles/
My suggestion would be to have separate procs if the queries are that different and it...
September 2, 2011 at 7:57 am
You are very welcome 🙂
September 2, 2011 at 6:10 am
sql4us (9/1/2011)
I want to include all column names to display
For ex:
Zipcode West East North South maxvalue Colname
00001 ...
September 1, 2011 at 2:33 pm
Almost there 🙂
Two things to consider:
1. Your order by clause should only include the maxvalue column and not the zip code.
2. Encapsulate your whole query in a cte, and then...
September 1, 2011 at 1:53 pm
sql4us (9/1/2011)
September 1, 2011 at 1:33 pm
If you have a limited number of columns, you could use a case statement. Alternatively, try using a cte to "normalize" the data before aggregating.
September 1, 2011 at 1:16 pm
Viewing 15 posts - 796 through 810 (of 887 total)