Viewing 15 posts - 1,741 through 1,755 (of 18,926 total)
As I said, the inner CTE is fine. It's just the forcast that are wrong.
Play with it and use what makes sense.
October 25, 2011 at 7:07 am
Yes it works with temp table.
spaceused returns 2 datasets for the DB so you can't use that trick on that sp.
I personally use the backup history for this (estimates doesn't...
October 25, 2011 at 5:16 am
IIRC the correct drop sequence is FK, then index, defaults, checks, schemabound objects and then the column.
If other fks use that column as PK in the relation those will need...
October 24, 2011 at 3:30 pm
Nope.
Never seen this other than something manually coded in the application.
October 24, 2011 at 11:44 am
Something overly complicated that shows how to use both foreach db & tables...
SET STATISTICS IO, TIME OFF
SET NOCOUNT ON
SET IMPLICIT_TRANSACTIONS ON
GO
USE [master]
GO
IF OBJECT_ID('dbo.spaceused', 'U') IS NULL
BEGIN
CREATE TABLE dbo.spaceused (
DbName sysname...
October 24, 2011 at 11:07 am
Never seen this in any standard installs.
The only remotely possible explaination I can find is this => http://office.microsoft.com/en-us/sharepoint-foundation-help/manage-lists-and-libraries-with-many-items-HA010377496.aspx#_Toc264017709
October 24, 2011 at 10:42 am
Perry Whittle (10/24/2011)
i pasted but it did nuttink. have corrected it now 😉
My way's funnier :-D.
October 24, 2011 at 9:45 am
Perry Whittle (10/24/2011)
Rod at work (10/24/2011)
October 24, 2011 at 9:39 am
Stefan Krzywicki (10/24/2011)
October 24, 2011 at 8:41 am
When we tune we only care about the statements. Unless the index creation will always be part of the process (like for a temp table).
October 24, 2011 at 7:46 am
Any reason you don't have an identity column in the Users' table and use that instead in that table?
October 24, 2011 at 5:57 am
Ok, I just got to ask.
Why are you doing this 3 times in a row?
SELECT @ordernumber = ordernumber
Either we are missing part of the code or the logic or...
October 24, 2011 at 4:49 am
Is lock pages in memory on? That will use everything available right on startup (up to the limit you set for the server).
October 24, 2011 at 4:45 am
Viewing 15 posts - 1,741 through 1,755 (of 18,926 total)