Viewing 15 posts - 3,211 through 3,225 (of 18,926 total)
Shame. Perhaps it does just need more data, as you say.
I've just finished that test. The ONLY way I can make the script fail is with the final insert...
August 19, 2011 at 7:01 am
What's wrong with returning and empty resultset if there's no data?
August 19, 2011 at 6:15 am
I think you really need to read this as well because just killing the app that needs teh db ain't the solution :
Free book on perf tuning (excellent) :...
August 19, 2011 at 6:14 am
Stolen from activity monitor (shows the blocking chains and waits really well)
--Borrowed from the activity monitor
SELECT
[Session ID] = s.session_id,
[User Process] ...
August 19, 2011 at 6:12 am
Quite easy with a calendar table.
Select top 1 * FROM dbo.Calendar WHERE Y = 2011 AND DW = <whatever fits your setting> ORDER BY dt.
August 19, 2011 at 3:47 am
I'm 99.99% sure you can't do and if (exec) like this.
You could do it with everything dynamic or insert the results to temp table and check for @@rowcount > 0
August 19, 2011 at 3:44 am
SQLkiwi (8/18/2011)
You had convinced me that I was demonstrating a related problem, and not the exact one you are seeing in your database, so I created a Connect item of...
August 19, 2011 at 3:36 am
Retested on Denali, Snapshop isolation off db level gives the same error.
It really looks like all that dml and DDL is messing up with something.
The really scary part...
August 18, 2011 at 9:42 pm
@PW. You can see the reason for my confusion => http://sqlcat.com/members/paul-white-nz/default.aspx
😀
Especially with all the super deep level 500 stuff you always blog about. Makes one wonder what the...
August 18, 2011 at 9:37 pm
Jeff Moden (8/18/2011)
Ninja's_RGR'us (8/18/2011)
I've possibly discovered a bug that corrupts your db when doing a deployment script. I've tested on 2K5 sp3 and 2K8...
August 18, 2011 at 9:32 pm
SQLkiwi (8/18/2011)
Ninja's_RGR'us (8/18/2011)
Please post your results with the version(s) you tested on.Added my contribution.
Thanks a lot, but it still looks like we have work to do on this one. 😉
August 18, 2011 at 9:27 pm
Denali finally up and running. My script still fails the exact same way (as it is failing in 2k5).
Microsoft SQL Server "Denali" (CTP3) - 11.0.1515.0 (Intel X86)
Jul 11...
August 18, 2011 at 9:24 pm
Only 1 problem @SqlWiki, [DateHistorique_fin] is not the leading column, it's the 2nd of 3 columns being changed from NOT NULL to NULLable.
ALTER TABLE [dbo].[RPT_Historique_Couts] ADD CONSTRAINT [IX_Historique_Couts_NoArticle] UNIQUE...
August 18, 2011 at 7:17 pm
Paul Randal (8/18/2011)
Cool - if you can email me the setup script I'll play with it this weekend! paul @ sqlskills.com
It's already in the zip file.
August 18, 2011 at 4:58 pm
Viewing 15 posts - 3,211 through 3,225 (of 18,926 total)