Re: differences between ORACLE and MS SQL
From: test (a_at_a.a)
Date: 01/18/05
- Next message: Sethu Srinivasan [MSFT]: "Re: Microsoft SQL Server Best Practices Analyzer"
- Previous message: Andrew J. Kelly: "Re: differences between ORACLE and MS SQL"
- In reply to: evagelos: "differences between ORACLE and MS SQL"
- Next in thread: Dejan Sarka: "Re: differences between ORACLE and MS SQL"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 18 Jan 2005 08:09:13 +0800
do not cross post!
> this queery in ORACLE-SQL works fine , in MS-SQL?
> SELECT code_card, card_date + 31
> FROM card
>
> i searce and find out that i must use "DATEADD ( datepart , number,
date )"
> but how?
> 2)
> this queery in ORACLE-SQL works fine , in MS-SQL?
> SELECT card_dates, SUM(card_quantity)
> FROM card_transactios
> GROUP BY card_dates
in ms-sql as the same 1) 2)
> i want to return my the sumarize but if i have 2 card_transactions in
> febrary it return to me both of them
> what i am doign wrong?
why?
>3)
> i want to find all card_transaction for month "may"
> i must write " LIKE '*/6/2002' "
> but it returns me an error "your entry cannot be converted to a valid
> daytime value
use datediff
or
between '1/6/2002' and '30/6/2002'
- Next message: Sethu Srinivasan [MSFT]: "Re: Microsoft SQL Server Best Practices Analyzer"
- Previous message: Andrew J. Kelly: "Re: differences between ORACLE and MS SQL"
- In reply to: evagelos: "differences between ORACLE and MS SQL"
- Next in thread: Dejan Sarka: "Re: differences between ORACLE and MS SQL"
- Messages sorted by: [ date ] [ thread ]