Viewing 15 posts - 18,031 through 18,045 (of 49,552 total)
Why do you rather want a meaningless number over a null? If you're going to be fixing the data up surely a null is easier to find than a meaningless...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 17, 2012 at 1:22 pm
When you attach, explicitly remove the ldf in the dialog (if they didn't provide it). Or use CREATE DATABASE ... FOR ATTACH_REBUILD_LOG
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 17, 2012 at 12:27 pm
Lucasprss (6/17/2012)
Tried the code above and got incorrect syntax near the keyword OF?
Please, have a look at the unique index that I suggested. That way you can get your machine...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 17, 2012 at 12:23 pm
Lucasprss (6/17/2012)
Thanks for your suggestion, I am getting a conversion error as my field is NVarchar and not a INT type. Any suggestions?
Yes, look at my earlier post. No updates...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 17, 2012 at 10:26 am
Scalar udfs are incredibly slow. If you want to optimise the procedure you need to get rid of the UDFs, replace them with inline table-valued UDFs or subqueries.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 17, 2012 at 10:22 am
Lucasprss (6/17/2012)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 17, 2012 at 10:20 am
What you need there is to set up an application role (if you can change the app to use it). There are other better solutions, but that's the easiest
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 17, 2012 at 10:16 am
DML Triggers are per-table
Security is best done with security settings. Remove the people who don't need to update from db_datawriter or give then db_denydatawriter. Why can't you make a separate...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 17, 2012 at 3:42 am
None. 2008 and 2008 R2 are just about identical when it comes to the DB engine.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 17, 2012 at 3:40 am
Depends why SQL was installed. If it was installed to support some other app that's on your laptop (and a lot of apps use SQL Server Express), then uninstalling it...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 16, 2012 at 9:39 am
Unless the webserver passes something to SQL to identify the originator of the request, you can't in this case. As far as SQL (and hence profiler) is concerned, the connections...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 16, 2012 at 7:32 am
And if you discard backups after a week, run checkDB more often than once a week.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 16, 2012 at 3:55 am
SQLCrazyCertified (6/15/2012)
GilaMonster (6/15/2012)
SQLCrazyCertified (6/14/2012)
Please correct me if I have mentioned anything incorrectly.
Why do you specifically call out AWE on 32 bit SQL on 64 bit OS, but make no mention...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 16, 2012 at 3:51 am
MysteryJimbo (6/15/2012)
gary.morey (6/15/2012)
All of the other users can only do SELECTs against the table....so this means that...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 15, 2012 at 2:25 pm
Brandie Tarvin (6/15/2012)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 15, 2012 at 2:17 pm
Viewing 15 posts - 18,031 through 18,045 (of 49,552 total)