Viewing 15 posts - 46 through 60 (of 81 total)
If the server you're connecting to is SQL 2000 or the adventureworks DB you're using is in compatability mode 80, the query will work fine.
I see why its working now!...
February 11, 2008 at 3:48 am
I don't see an error when I execute the following in Management Studio:
USE AdventureWorks
GO
SELECT DISTINCT FirstName, FirstName
FROM Person.Contact
ORDER BY FirstName
February 11, 2008 at 3:21 am
USE PUBS
GO
DECLARE @sql VARCHAR(2000)
,@fnam VARCHAR(20)
SET @fnam='Paolo'
SET @sql = 'SELECT fname,lname FROM employee WHERE fname= '''+ @fnam + ''''
PRINT @sql
EXEC (@SQL)
Edit : You'll see...
February 10, 2008 at 9:29 pm
Perfect! Just something I needed!! Thanks Luiz!
February 8, 2008 at 3:00 am
WILLIAM MITCHELL (2/7/2008)
The usual fix is to locate the bad record, copy all fields from that record...
February 7, 2008 at 10:28 pm
Matt Miller (2/7/2008)
OLE being what it is - there are some provider specific errors that don't get past back...
February 7, 2008 at 10:22 pm
Or do you think it was this very record with date 2/2/707 that was the problem throughout??? Like that's an invalid argument, maybe!
Any thoughts??
February 7, 2008 at 3:51 am
UPDATE My_LinkedServer...My_AccessTable
SET ID = @MaxID + T.Rank
FROM #Temp T
WHERE Address = T.a
gives me the same error, Matt!
And I did try the Compact and Repair tool... doesn't help!
There was an invalid...
February 7, 2008 at 3:49 am
UPDATE My_LinkedServer...My_AccessTable
Set ExportedFlag=0
This is just one of the several update queries that throws this error. In every case, its the same table that's causing the problem..
And like I said,...
February 5, 2008 at 11:59 pm
FYI
This is something i googled...
3001 - Invalid argument. This one typically happens when clicking on a corrupted record within a table. Or by running a query or form against that...
February 5, 2008 at 11:46 pm
Whoa! Thanks!
And I had no clue about the EXISTS keyword.
Perfect! Thanks again!
February 5, 2008 at 10:03 pm
OK.. Like I said, application throws this error on Export to SQL (from Access).
I decided to debug the SP to see the exact point of error.
This is what I found:
The...
February 5, 2008 at 10:03 pm
Could you tell me how exactly I'm supposed to know if my tempdb is full?
It's set to unrestrictive growth by default, right?
And what about the Temp folder? When does...
February 4, 2008 at 4:15 am
There was an existing application by the same name in the system.. therefore a folder by that application name in registry.
The Import module connection string was picking up 'null' as...
January 31, 2008 at 10:23 pm
Thanks! I will definitely check it out..
The problem has been resolved for now. The tester was just being a jerk. No need to elaborate further.
January 21, 2008 at 11:11 pm
Viewing 15 posts - 46 through 60 (of 81 total)