1
Vote

SELECT ABS(-1)

description

Anybody can help on this as

SELECT ABS(-1)

is not working...

Thanks,

comments

narslankaya wrote Aug 24, 2013 at 3:18 AM

Select without from not working.

Try this:

create table A(Id int not null identity, B varchar(20));
insert into A(B) values ('Test');

select ABS(-1),* from A;

result:
1 rows returned, 0 rows affected.
    ID      B
1 1 test