Viewing 15 posts - 16 through 30 (of 103 total)
Are you making a stored procedure call here? I'd recommend it and then make the first line "set nocount off" and the last "set noucount on". This stops...
November 16, 2014 at 12:07 pm
Get rid of the square brackets after the word constraint. So instead of "CONSTRAINT [] PRIMARY KEY CLUSTERED " have "CONSTRAINT PRIMARY KEY CLUSTERED "
November 12, 2014 at 1:42 pm
Just a thought, dynamic SQL, selecting the table names into a variable and loop through the resulting set of table names excecuting the count query for each.
conceptually ...
select the table...
October 23, 2014 at 3:49 pm
The key thing with a break is the length. Two weeks is the minimum you need to clear your head of work, so only the subsequent weeks ae true...
September 2, 2014 at 5:50 pm
Just quickly off the top of my head, and without looking in detail at the query, have you looked at left and right joins instead of the inner join?
Give me...
August 7, 2014 at 9:34 pm
I agree with jscott, the customer creates a lot of these problems. How often do you deliver a quote to add some additional fields and the customer says, "we...
June 22, 2014 at 2:37 pm
Are you looking at these in an SMS grid window? If so check your settings as SMS default is to only display 255 characters so change these settings and...
May 13, 2014 at 3:50 pm
Have a look at the Books link, Grant has a great free eBook on SQL server execution plans and how to read them and there's Tim Ford and Louis Davidson's...
April 22, 2014 at 11:47 pm
That sounds logical if you don't want a true relational database. Remember the database engine is designed to work well with joins. When you have to keep adding...
April 6, 2014 at 9:42 pm
Ok it looks like I have a work around solution that came from a previous post that works. I have done a single test and all looks good.
March 11, 2014 at 7:35 pm
I did forget to mention that it was whilst running in debug mode that the problem made itself visible. I changed the connections and then ran a test on...
March 10, 2014 at 1:40 pm
I'm not an expert here by any means but have you look at a data transformation task to explicitly convert the date to date time adn then use the converted...
March 9, 2014 at 1:31 am
IS there any specific reason you are using "DAY" within the datediff or did you mean to use d or dd?
February 26, 2014 at 3:45 pm
You stated "with two decimal values" so its not an integer but numeric(x,2)
February 26, 2014 at 12:28 pm
All the hash means is the table scope. A has means the table would only be available to the session that created it so its a temporary table.
February 17, 2014 at 12:42 pm
Viewing 15 posts - 16 through 30 (of 103 total)