Viewing 15 posts - 13,561 through 13,575 (of 13,876 total)
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
I think I understand what you are getting at, but some sample data highlighting what you are currently getting and what you want to get would help significantly. To...
January 17, 2005 at 5:21 am
It's pretty complex, but your problem might be in the WHERE clause, specifically the
WHERE (((t2.Subrouteeffdate)=(SELECT ...)))
bit. If you have a record in t1 with no matching record in...
January 17, 2005 at 12:58 am
Maybe! Please provide more detail about what you are trying to achieve, as it isn't clear from your post.
January 17, 2005 at 12:45 am
Thanks Jeff - do you have any examples of this?
Phil
January 16, 2005 at 5:25 pm
As far as I know, there is no native support in SQL Server for rolling back specific transactions, though I believe there are third-party tools that can do this.
But a...
January 16, 2005 at 6:44 am
It looks like you want to round down in all cases - this code should do the trick:
declare @a varchar(100), @b-2 varchar(100)
set @a = '0.4567777777778999999999345677777777777777777'
set @b-2 = '10.3456789002322222222222545465565767888888888888888'
select cast(left(@a, charindex('.',...
January 16, 2005 at 6:36 am
First point is that the result of your example equates to 1%, not 5% ![]()
Secondly, there is no explicit 'percentage' datatype. Not that...
January 14, 2005 at 6:38 pm
Viewing 15 posts - 13,561 through 13,575 (of 13,876 total)