Viewing 15 posts - 451 through 465 (of 548 total)
Perhaps more code samples would help
what code takes 3~4 minutes to run?
Take a look into CONTAINSTABLE or FREETEXTTABLE as well if you need to
Otherwise Full-Text should be very efficient on...
October 8, 2008 at 2:57 pm
You can update 1 TABLE at a time, not more than 1 in an UPDATE statement
But for that table, you can update from 1-N columns
so Garadin's solution should work
October 8, 2008 at 2:55 pm
Perhaps it's time to look into PIVOT function that's built for this purpose?
You can group by YEAR, PIVOT by months
Unless you are using Reporting Service, then just use a Matrix...
October 8, 2008 at 2:50 pm
thasteve (10/8/2008)
I almost forgot about this, and I just read 2 2008 books 🙁
@@IDENTITY or...
October 8, 2008 at 2:45 pm
Kalen has a good article just recently
As I am working on my new SQL Server 2008 internals book, I am finding many test situations in which I need to create...
October 8, 2008 at 2:40 pm
I don't see a quick elegant solution
CURSOR will be the quickest
PIVOT may be harder with UNKNOWN # of Cities/columns per row (may involve Dynamic SQL)
Can you put the Cities...
October 8, 2008 at 2:31 pm
Did you use the SQL Server builtin Management -> Maintenance Plans -> Wizard?
or SSIS?
There is a "Maintenance Cleanup Task" you can check
The Maintenance Cleanup task removes files left over from...
October 8, 2008 at 2:26 pm
I have like 5 similar scripts now to do index rebuild/reorganize, and I get confused all the time
Take a look at Pinal's article
October 8, 2008 at 2:22 pm
I know in newer versions (SQL 2008 for example), it'll assign minimum rights to whatever account you use for the Server (or Service)
but I think LOCAL SYSTEM account would work...
October 8, 2008 at 2:18 pm
for 1GB size, I'd suggest BCP QUERYOUT to a .csv or .txt
then import as Excel (2007) if you really want
or How to Export Data to Microsoft Office Excel 2007 Using...
October 8, 2008 at 2:12 pm
What are the errors?
Have you tried importing it as Excel 97/2003 .xls format (instead of 2007)?
Also this may provide some insights (to use MS Office 12 OLE engine instead of...
October 7, 2008 at 9:18 am
I know for SQL 2008, if you enable Execution Plan in SSMS, it'll show MISSING INDEX HINTS
Although the caveat is that the index is tuned, only for that particular...
October 6, 2008 at 10:30 pm
Laerte POltronieri Junior (10/6/2008)
Thanks Jerry, it´s was exactly what i´m looking for...Practical applications
Exactly my thoughts after reading that (= something I can actually use at work in practice)
October 6, 2008 at 4:04 pm
October 6, 2008 at 3:07 pm
Personally, even if there is directly upgrade path (e.g. install on top of CTP6), I wouldn't risk it
We upgraded from RC0 to RTM by either
1. Uninstall RC0, re-install RTM on...
October 1, 2008 at 1:52 pm
Viewing 15 posts - 451 through 465 (of 548 total)