Viewing 15 posts - 13,516 through 13,530 (of 13,838 total)
I've never used this solution - though I see no reason for any drawbacks - except, perhaps, for the ugly message that could be sent back to client apps -...
June 15, 2005 at 7:56 am
Check out this link for more info on this:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=9&messageid=157147#bm157159
June 15, 2005 at 6:16 am
Or you could use
where isnumeric(column1) = 0
Cheers
Phil
June 15, 2005 at 6:09 am
Depends on your table - eg does it have a key field that gets bigger and bigger with each new record? Eg if the data look something like this:
ID,...
February 1, 2005 at 5:07 am
The multiple [null] occurences are treated as duplicates: the index is therefore not unique and cannot be created as such. As far as I know, there is no simple...
January 23, 2005 at 3:11 pm
Several ways to do this. One is to create a new calculated field in your Products table:
NumericID = (convert(int,right([productid],6)))
and then it's just a straightforward query to find the next...
January 22, 2005 at 3:22 pm
Having a single db for multiple disparate applications sounds like a bit of a maintenance nightmare to me. I would keep them separate, but perhaps create an extra database...
January 20, 2005 at 11:09 pm
Not familiar with osql, but a couple of ideas ...
It sounds like osql is adding the spaces - I'm assuming that they do not exist in the raw data? ...
January 19, 2005 at 10:15 pm
Tried and failed - same as you. How irritating!
January 19, 2005 at 10:09 pm
I think that the error message is spot on, just a slight change required:
INSERT INTO Catalog (fieldname1, fieldname2, ... , fieldnamenn)
SELECT
catalogID AS [CatalogID],
cSubCategory AS...
January 19, 2005 at 9:35 pm
Jim, I think that the requirement here is to create not only the table, but the data too - QA won't generate this SQL.
Cheers
Phil
January 18, 2005 at 3:05 pm
max(x1.Subaddeffdate) Subaddeffdate
- Subaddeffdate is an alias for the column, and this alias is used elsewhere in the query. It is referring to the same column, hence no comma.
dbo is...
January 18, 2005 at 3:03 pm
A scheduled DTS package should do this for you - it can be designed to create all 20 csv files, one after another and run automatically every week. As...
January 18, 2005 at 5:35 am
Try submitting the data in the format
'yyyy-mm-dd hh:mm:ss'
Phil
January 18, 2005 at 5:32 am
OK, this is a beast, as you've got multiple subqueries to cope with the required GROUP BYs in tables linked by a LEFT JOIN. Query works in SQL Server,...
January 17, 2005 at 10:37 pm
Viewing 15 posts - 13,516 through 13,530 (of 13,838 total)