Viewing 15 posts - 5,296 through 5,310 (of 26,490 total)
Not to mention the table scans this probably causes:
...
AND (u.FirstName LIKE '%' + 'asdf' + '%' OR
u.LastName...
May 7, 2015 at 11:33 am
Jacob Wilkins (5/7/2015)
May 7, 2015 at 11:28 am
Or, rewrite the query looking at ways to eliminate the multiple nested sub-queries.
Looking at it, there has to be a way to rewrite the query so it is more optimal,...
May 7, 2015 at 11:11 am
I came up with this as a simple example of what you are trying to accomplish:
with Months as (select MonthAbbr, MonthNumber from (values ('JAN',1),('FEB',2),('MAR',3),('APR',4),('MAY',5),('JUN',6),('JUL',7),('AUG',8),('SEP',9),('OCT',10),('NOV',11),('DEC',12))dt(MonthAbbr, MonthNumber))
, TestData as (select TestDescription from...
May 7, 2015 at 10:29 am
yusufm 48726 (5/7/2015)
Lynn,I am sorry I posted wrongly. I have got the answer from here
http://www.sqlservercentral.com/Forums/Topic1318719-1291-1.aspx and it has helped me to get the result what I was looking for.
Thanks,
I am...
May 7, 2015 at 9:44 am
yusufm 48726 (5/7/2015)
Lynn,I am sorry I posted wrongly. I have got the answer from here
http://www.sqlservercentral.com/Forums/Topic1318719-1291-1.aspx and it has helped me to get the result what I was looking for.
Thanks,
Making the...
May 7, 2015 at 9:38 am
yusufm 48726 (5/7/2015)
May 7, 2015 at 9:35 am
New Born DBA (5/7/2015)
Sorry, but I actually spit soda out my nose on this comment:
Well I hope you are OK. 😀
It isn't a system field, the column c1is a user...
May 7, 2015 at 9:17 am
Catch the comment in this post: http://www.sqlservercentral.com/Forums/FindPost1683559.aspx
May 7, 2015 at 8:56 am
New Born DBA (5/7/2015)
New Born DBA (5/6/2015)
My suggestion, if most of your SELECT queries read on column C6, is to change the primary key from a CLUSTERED index to a...
May 7, 2015 at 8:55 am
Jeff Moden (5/6/2015)
Lynn Pettis (5/6/2015)
ramana3327 (5/6/2015)
May 7, 2015 at 8:45 am
kevaburg (5/7/2015)
Hi There,sorry my mistake....
The ESXi Cluster is running datacenter Edition, the SQL Servers are Enterprise.
Regards,
Kev
You should license SQL Server to the underlying physical hardware. You would then be...
May 7, 2015 at 8:39 am
Uncle Buck (5/6/2015)
Sorry, Not sure what you mean by ddl?
CREATE TABLE statement.
DDL is a TLA for Data Definition Language.
May 6, 2015 at 3:44 pm
It would still help if you could provide the DDL (CREATE TABLE statement) for the table(s) involved in the query, some sample data (INSERT INTO statements) for each of the...
May 6, 2015 at 3:42 pm
Developer Edition is the Enterprise Edition with restricted licensing.
May 6, 2015 at 12:30 pm
Viewing 15 posts - 5,296 through 5,310 (of 26,490 total)