Viewing 15 posts - 13,666 through 13,680 (of 13,849 total)
I reckon you need to use the isnumeric() function and treat the numeric and non-numeric codes separately. Try something like this:
SELECT ITEMNO AS Item
FROM [ITEMMAST-10-25-04]
WHERE isnumeric(itemno) = 1 and...
October 28, 2004 at 2:25 am
Check out this thread for additional info:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=139473
On the surface, programmatically changing collation orders doesn't seem too difficult a concept, until you realise that you need to drop associated constraints/indexes etc...
October 25, 2004 at 10:07 pm
It seems to me that your code is doing exactly what you want it to do, so where is the problem?
Anyway, if you have some sort of nullophobia (
October 25, 2004 at 8:12 pm
Here's another (similar) way:
declare @time nvarchar(20)
declare @timefloat float
declare @minutes int
set @time = '211:34'
set @timefloat = replace(@time,':','.')
set @minutes = floor(@timefloat) * 60 + (@timefloat - floor(@timefloat)) * 100
Regards
Phil
October 24, 2004 at 9:10 pm
My understanding is that scheduled SQL job steps run as transactions, ie they either fail or succeed. Partial success is not a possible outcome - as it appears to...
October 20, 2004 at 6:40 pm
I agree with Osoba - have played with Round, casting to decimal etc and nothing works elegantly. If you do not change the datatype of the column in the...
October 20, 2004 at 6:33 pm
Hi Jana
If the filenames are always the same, why not just create 12 separate imports that run one after the other as part of the same DTS package and use...
October 20, 2004 at 6:20 pm
Though 'retruning' is a great-sounding word, I think you mean returning? ![]()
Great question - I'm assuming that you're performing an insert to a table...
October 20, 2004 at 12:57 am
Yuk! If no one has anything already written, I will help you out. Presume you're planning on using VBA?
Regards
Phil
October 19, 2004 at 8:30 pm
A thousand records is hardly a spike for most hardware running SQL Server. What problems are you experiencing? Do you actually mean 'terminate', or just 'freeze' and perhaps...
October 19, 2004 at 8:15 pm
Not 100% sure what you're after here. I presume it's something a bit more complex than just
select fld1, fld2, fld3, fld4
from tbl1
where fld1 = 123 and fld2 = 'abc'...
October 18, 2004 at 7:36 pm
Hi Mitch
Sounds like you are trying to insert an explicit value into a field that has been designed to assign its own values automatically on insert (possibly an auto-incrementing primary...
October 18, 2004 at 7:32 pm
In what format do you want the results presented? Random order of numbers 1-52 in a table?
Regards
Phil
October 17, 2004 at 11:06 pm
October 12, 2004 at 10:02 pm
Viewing 15 posts - 13,666 through 13,680 (of 13,849 total)