Viewing 15 posts - 1 through 15 (of 16 total)
r.hensbergen (3/13/2009)
March 13, 2009 at 10:57 am
thanks Grant...didn't think it would be that easy...so the BCP commands will work just the same then hey?
October 17, 2008 at 7:25 am
Jeffrey Williams (7/21/2008)
July 21, 2008 at 6:57 pm
Server: Msg 107, Level 16, State 2, Line 1
The column prefix 't1' does not match with a table name or alias name used in the query.
Server: Msg 107, Level 16,...
July 21, 2008 at 3:33 pm
Once I have an understanding of the relationships, it really shouldn't be that hard to figure this out.
Hi Jeffrey - thanks again for your time assisting me with this. I...
July 21, 2008 at 8:56 am
I am really guessing here - but, I think you want to perform a group by on the whole query.
select
g.arrival...
July 19, 2008 at 8:58 am
As for your problem with multiple rows - that is going to be caused by the joins. In the following:
from transactions t
Inner Join rpt_revenue...
July 18, 2008 at 10:04 pm
Jeffrey Williams (7/18/2008)
July 18, 2008 at 6:59 pm
GSquared (7/18/2008)
sum(select t.tax1_amt as 'IVA' where tran_code='7000'
Nor the other parts like it. Not...
July 18, 2008 at 1:51 pm
I just noticed I didn't enclose line 11 and 12...but I have more problems than that...:hehe:
July 18, 2008 at 9:31 am
thanks, i ended up doing a parameter file and putting in the /n on the last column...
40 SQLCHAR 0 12 "\r" 40 honor SQL_Latin1_General_CP1_CI_AS
for some reason...
April 18, 2008 at 10:52 am
Amol Mitkari (4/11/2008)
Hi,I thick you cannt add dates using "+".
CONVERT (datetime,departure,1)+ CAST (out_time as datetime) >=Dateadd(mi,-5,GetDate()))
Instead of "+" use dateadd function on right hand side also.
Cheers,
Amol
can you post your...
April 11, 2008 at 8:24 am
rbarryyoung (3/24/2008)
March 24, 2008 at 4:53 pm
Jason Selburg (3/24/2008)
You're already doing it in some other cases, like the quest_name line ...but anyway ...
set @phone=ISNULL((select phone from guest where account=@account and room=@room_code group by phone),'')
could you verify...
March 24, 2008 at 4:04 pm
thank you...you're totally right...i did not know that function did that and bc the data in the columns already using that function did not have any "blanks" (nulls) it kind...
March 24, 2008 at 3:20 pm
Viewing 15 posts - 1 through 15 (of 16 total)