Viewing 9 posts - 1 through 9 (of 9 total)
Thank you Brad for your response,
CROSS APPLY should behave like INNER JOIN. And yet with aggregates it behaves like OUTER APPLY or LEFT JOIN. I am wondering if there...
August 27, 2014 at 10:52 am
"Instead of shrinking in one shot, try shrinking in small batches.. may be 2Gb at a time or even 1GB... "
Thank you for this advise. I did it in chunks...
February 4, 2011 at 11:59 am
I am aware that DB shrinking is resource intensive. This is not a reason to shrink DB ~2 days without success. DB size is not enormous. No other intensive processes...
February 3, 2011 at 5:36 pm
This is not only one database I need to have on that drive.
February 2, 2011 at 2:27 pm
Thank you very much,
These are a SQL statements I would like to use.
However, only version with CTE gives correct answer. I will check performance later since real query is more...
June 25, 2010 at 1:14 pm
I am sorry I was not clear.
150 is interval between orders and not from current date.
June 25, 2010 at 12:43 pm
You recheck path:
portion "E:\" does not look right.
June 11, 2009 at 10:48 am
Yes you are correct. Sorry I did not copy correctly.
SELECT c.custnum, c.firstname, c.lastname,
c.company, c.addr, IsNull(c.addr2, '') addr2,
c.city, c.state, c.zipcode,
c.email,
dhc.uf_GetPN(LTrim(RTrim(c.firstname))) sal
FROM dhc.cust c
JOIN
(SELECT TOP(100) PERCENT WITH...
May 22, 2009 at 4:01 pm
CROSS APPLY is for table-valued functions. Function I use is scalar-valued. Problem is following:
query selects rows based join with orders table without user function; if user function is present,...
May 22, 2009 at 3:03 pm
Viewing 9 posts - 1 through 9 (of 9 total)