Viewing 14 posts - 1 through 15 (of 15 total)
For some reason I get the error
In the FOR XML EXPLICIT clause, mode 'ELEMENTXSINIL' in a column name is invalid.
when I have NULL AS [stockHeader!3!supplierName!ELEMENTXSINIL],
. I'll go with the ISNULL...
March 1, 2012 at 9:58 am
That worked for me - thanks for the info:-)
March 1, 2012 at 9:38 am
interesting -
The following returns nothing
SELECT BOM_REQUIRED,Company_Code,FACTORY,DEPARTMENT from OPENQUERY( AGILtest, 'SELECT BOM_REQUIRED,Company_Code,FACTORY,DEPARTMENT FROM AP_GENERATE_PICK WHERE Company_Code =''A'' AND FACTORY = ''2'' AND (BOM_REQUIRED=''N'' OR DEPARTMENT=''24'')')
however this does return a value
SELECT...
December 20, 2011 at 4:29 am
I should add - the data is there to be updated, it's not that the query is wrong.
December 20, 2011 at 2:24 am
yep - will change the language setting in the script - thanks for the help
December 13, 2011 at 6:33 am
It appears that my issue is in fact down to data. This code worked before on an older server. I thought it was a 2000 V 2008 issue but in...
December 13, 2011 at 3:29 am
Sean - I think you might be right
It happens for any row in my data set. I just bring back the one field causing my problem like so
SELECT TOP...
December 12, 2011 at 2:28 pm
setting the language at the top of the query in Excel fixes this - but just think its strange that the language settings in Excel overrides the SQLServer Databases settings
thanks...
October 4, 2011 at 3:13 am
thanks - what I don't understand is that I'm connecting to the same database, just using 2 different ways. I'm not setting the language to anything in my connection or...
October 4, 2011 at 2:36 am
thanks - it doesn't cause an error and looks like its ignored. Just wanted to confirm.
September 12, 2011 at 7:13 am
so the problem is where the cursors are being used then? These need to be selecting data?
August 16, 2011 at 9:03 am
Hi all,
Still not figured out this problem with BCP.
I'm using a table variable here not a temp table. The SP code I'm using is below. Can anyone see anything...
August 16, 2011 at 2:46 am
Thanks.
I'm using a table variable rather than a # table. I have bcp working with a stored proc that uses a table variable, but for that file the first row...
August 11, 2011 at 6:51 am
bingo - I am an idiot:hehe:
have been doing this for hundreds of sps - had opened a 2000 session which worked but of course that's because it was a fresh...
August 4, 2011 at 10:03 am
Viewing 14 posts - 1 through 15 (of 15 total)