Viewing 15 posts - 196 through 210 (of 281 total)
See also BOL SQL 2005 ---> Reorganizing and Rebuilding Indexes and http://www.sqlservercentral.com/Forums/Topic789128-149-1.aspx#bm789512.
September 29, 2009 at 7:44 am
Basically from now on you'll be free to perform config & maintenance but only for your own databases.
See also BOL ---> Permiossions of Fixed Database Roles & Permiossions of Fixed...
September 29, 2009 at 7:28 am
I tried the cursor on the whole set of records in my Salary table (~3.000.000 rows) and still it seems to be the faster - it takes ~6 minutes. I...
September 28, 2009 at 2:59 am
See also http://www.sqlservercentral.com/Forums/Topic789128-149-1.aspx#bm789512 for some real life experiences.
September 28, 2009 at 1:07 am
Thanks, Jack. I added the links to my briefcase.
September 25, 2009 at 11:41 am
I'm not sure I've understood you - do you need 2 rows for product type 1?
Otherwise, see the info about the PIVOT operator in BOL and also http://articles.techrepublic.com.com/5100-10878_11-6143761.html.
September 25, 2009 at 1:58 am
Can you add to your process a step which checks that the input XML is well formed?
September 25, 2009 at 1:51 am
While working on a similar requirement (involving running totals) I came upon http://www.sqlteam.com/article/calculating-running-totals.
Indeed the cursor solution described here is very fast (even if during tests there was no...
September 24, 2009 at 4:48 am
See if dynamic SQL is helpful - you can start at http://code.msdn.microsoft.com/SQLExamples/Wiki/View.aspx?title=DynamicSearch, however in my opinion the most valuable resource is http://www.sommarskog.se/dynamic_sql.html#Dyn_DB.
Explore also the full text...
September 24, 2009 at 1:40 am
I extensively used this way of updating while working on SQL 2000. Now I prefer to use a CTE or, if dealing with SQL 2008, a MERGE statement.
September 24, 2009 at 12:28 am
As george said, f you're on the "full" recovery model and you do not take any log backups, the log will grow and grow...
September 23, 2009 at 6:16 am
You should use a template to view your comments.
Go to SSMS ---> View ---> Template Explorer. Right click on "SQL Server templates", choose "new template" and create one, for example:
--procedure...
September 23, 2009 at 5:12 am
Try to automatically update the statistics - see BOL ---> Using Statistics to Improve Query Performance.
Go to the "tables" node (for a db) in SSMS, expand the "statistics" node, right...
September 22, 2009 at 3:01 am
I can see some "missing index" elements in the query plan you've posted.
Please see BOL ---> Using Missing Index Information to Write CREATE INDEX Statements or use the "db...
September 22, 2009 at 1:46 am
Viewing 15 posts - 196 through 210 (of 281 total)