Viewing 15 posts - 13,666 through 13,680 (of 13,876 total)
I've had this and did not find a straightforward solution, so in the end I worked round it. But, as an alternative to having a dynamic filename, you might...
November 8, 2004 at 4:04 pm
If 'first' = 'min' and 'last' = 'max', then this will do it:
select min(name) as 'first', max(name) as 'last'
from
where mark = 20
Regards
Phil
November 7, 2004 at 4:23 pm
OK, assume that table 'tbl' contains two fields, 'utc' and 'date'. utc is populated, but date is empty. Here is a query that will populate date from utc:
update tbl
set date...
November 5, 2004 at 6:49 pm
I think we were both referring to the ASC(AS(X,3) bit, which does not contain a trailing 'C'. I actually think you might have meant A$, rather than AS. ...
November 4, 2004 at 10:01 pm
Hi John, your message is a bit terse. Please provide sample data and how you would like it to be sorted.
Cheers
Phil
November 4, 2004 at 8:36 pm
So you want
200, 300, ...
as your resultset? If so, what does table 1 do?
Cheers
Phil
November 4, 2004 at 6:10 pm
It's easier than you think - you're already on the right track. Try this:
declare @utcdate as float, @cvdate as datetime
set dateformat mdy
set @utcdate = 38279.813344907401
set @cvdate = @utcdate
select @utcdate...
November 4, 2004 at 5:09 pm
Missed that. I have no idea what the as() function does. Any ideas, anyone?
Phil
November 4, 2004 at 4:41 pm
Brett, you have created a calculation in your SELECT clause and given it a column heading of 'dnpisimport'. You are not giving the calculation an alias of 'dnpisimport' (this cannot...
November 4, 2004 at 4:32 pm
No problem. I did a search on the web and found the following link about the FPT function ... do you think that is it?
http://www.basis.com/docsonline/commands/fpt_function.htm
If I create a user...
November 3, 2004 at 11:10 pm
I've not heard of BBX, but this looks like straight BASIC to me. Having said that, I have no idea what the FPT function does, please elaborate.
It should then...
November 3, 2004 at 10:07 pm
Thanks very much, I'll try that.
... tried it now and works a treat - thanks v much.
Phil
November 3, 2004 at 8:56 pm
I'm sure that we can help you do, but you'll have to provide a bit more info before anyone can give you anything specific.
The general form of query that you'll...
November 3, 2004 at 8:44 pm
Thanks - the returned recordset contains the info I need, but how do I query it as part of my script? sp_helpdevice itself returns just 0 (success) or 1...
November 3, 2004 at 8:26 pm
Something like this?
select distinct a.ordernumber
from tblorder a
where a.ordernumber not in
(select distinct b.ordernumber
from tblorder b
where right(b.itemnumber,3) 'rtd')
November 3, 2004 at 7:06 pm
Viewing 15 posts - 13,666 through 13,680 (of 13,876 total)