Viewing 15 posts - 4,756 through 4,770 (of 10,144 total)
tom.wauters (4/24/2013)
However, I am not a dba-expert, and not that good at analysing query plans.
Can you please explain me a bit...
April 24, 2013 at 8:29 am
John Mitchell-245523 (4/24/2013)
DevDB (4/24/2013)
My machine is
Microsoft SQL Server 2008 R2 (SP2) -...
April 24, 2013 at 7:53 am
Try this:
DROP TABLE #Test
CREATE TABLE #Test (ID INT IDENTITY (23,6921), Value VARCHAR(25))
INSERT INTO #Test (Value) VALUES ('3.14'), ('Twenty seven'), ('24/04/2013'), ('100'), ('Yesterday'), ('0')
SELECT *
FROM (
SELECT
ID,
Value,
NumericValue = CAST(Value AS...
April 24, 2013 at 7:46 am
Jeff Moden (4/24/2013)
In reference to the following line of code in your fine function...
E3(N) AS (SELECT 1 FROM E2 a CROSS JOIN E2 b CROSS JOIN E1 c), --1M rows...
April 24, 2013 at 7:39 am
sharky (4/24/2013)
DECLARE @Adding TABLE (ID int identity(1,1),Result int,ActualResult int)
INSERT INTO @Adding (Result) VALUES (10),(10),(10),(10),(-10),(-10),(-10),(-10)
SELECT ID, Result, (Select SUM(result) From @Adding A2 WHERE A2.Id...
April 24, 2013 at 6:06 am
Jeff Moden (4/24/2013)
I really like how easy CROSS APPLY made it to calculate some of the more complex holidays. Well done, Chris.
Thanks Jeff!
One of the points I meant to...
April 24, 2013 at 5:55 am
Jason-299789 (4/24/2013)
This particular query is used in a...
April 24, 2013 at 5:25 am
No worries mate. There's a lot to do here...
Indexing on Policy.SectionLimitExcess - no indexes at all, start with a single-column unique clustered index if possible and relevant. How about SectionID?...
April 24, 2013 at 4:49 am
Update statistics on all tables referenced by this query.
Add an index to the table [section] - a unique clustered index on SectionID perhaps?
Run the query, capture and post the...
April 24, 2013 at 4:20 am
Amy.G (4/23/2013)
April 24, 2013 at 3:58 am
david.holley (4/30/2011)
April 24, 2013 at 1:52 am
-- itvf parameters
DECLARE @Startdate DATE, @WorkingDays INT
SELECT @Startdate = getdate(), @WorkingDays = 12
-- row generator (see DelimitedSplit2k8 article)
;WITH E1(N) AS (
SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1...
April 23, 2013 at 6:11 am
niladri.primalink (4/23/2013)
yes I want to change it..Please tell me the process.
However thanks for your reply...
you will have to explain the rules for moving the values around between rows.
April 23, 2013 at 4:10 am
niladri.primalink (4/23/2013)
In a table i want to apply order by. My database is 20-20 and table is errorreport where I have only 4 columns (rpt_id, error_id, file_id, errorlino). I...
April 23, 2013 at 4:04 am
Viewing 15 posts - 4,756 through 4,770 (of 10,144 total)