Viewing 15 posts - 286 through 300 (of 1,048 total)
That is not a proper join clause, though it may work (somehow) for Access.
try this:
SELECT (your select list)
FROM AR_CUST_MAST a
INNER JOIN SO_PAST_INV_HEAD c ON a.CUSTOMER_NUM = c.CUSTOMER_NUM
AND c.SHIP_REF_DATE Between...
February 24, 2012 at 12:35 pm
Sounds more like a hardware, disk space or permissions issue to me based on the error message.
February 16, 2012 at 11:53 am
GilaMonster (2/16/2012)
February 16, 2012 at 11:33 am
It will be recompiled when table structure changes or significant changes in table indexing and statistic s take place.
Make sure you statistics are always up to date, but the plan...
February 16, 2012 at 11:21 am
Steve Jones - SSC Editor (2/10/2012)
Richard Sisk (2/10/2012)
It works quite well, we have key change procedures that are used to regularly update the keys. If a backup is stolen, it's...
February 16, 2012 at 11:01 am
valeryk2000 (2/16/2012)
So casting to text/ntext (what I am currently doing) is the only way to do it?
AFAIK unless you can configure the driver somehow to map that for you that...
February 16, 2012 at 10:37 am
I have been able to seamlessly handle varchar(max) with older ASP and vb-script code that expect 'text' by using "DataTypeCompatibility=80" in the connection string. There might be a setting...
February 16, 2012 at 10:20 am
Gianluca Sartori (2/16/2012)
If you can't connect to it, you can't connect to named instances (you wouldn't know which port to...
February 16, 2012 at 9:19 am
Welsh Corgi (2/16/2012)
Your code worked.Sorry everyone.:blush:
phew. At least we know there isn't some obscure unreported SQL server bug. :hehe:
February 16, 2012 at 9:11 am
I did note the query you posted, and did try to duplicate it as closely as possible on a test table.
Not having your exact table on hand I could not...
February 16, 2012 at 9:05 am
Eugene Elutin (2/16/2012)
Using CTE would still produce neattier looking code...
CTE or not, a syntax error is a syntax error. I'm happy the OP resolved his issue but I like to...
February 16, 2012 at 8:38 am
What driver are you using for the ODBC datasource? Try using SQL Native Client (SQLNCLI10). If it doesn't show up in your ODBC applet you'll need to install...
February 16, 2012 at 8:32 am
I just ran a test on a big table that had a varchar() column with several different values in it. I did a count(*) and used a case like yours...
February 16, 2012 at 8:24 am
Viewing 15 posts - 286 through 300 (of 1,048 total)