Open GoogleCodeExporter opened 8 years ago
it was before, but for server v 11.0 this column was not available.
that's why i removed it.
any ideas how to organize this for different server versions ?
maybe create a separate file "stubs-ase12.sql" and redefine in it only some
sections...
Original comment by daggett....@gmail.com
on 9 Nov 2009 at 3:06
How does "select @@version" reads in ASE 11?
in ASE12 it reads something like
Adaptive Server Enterprise/12.5.4/ ......
in ASE15 it reads somethink like
Adaptive Server Enterprise/15.0.2/ ......
Maybe we can use a case statement like this:
(case when charindex("Adaptive Server Enterprise/15", @@version)>0 then ipaddr
when
charindex("Adaptive Server Enterprise/12", @@version)>0 then ipaddr else "n/a"
end)
as ipaddr
Original comment by juliocro...@gmail.com
on 9 Nov 2009 at 3:26
Original issue reported on code.google.com by
juliocro...@gmail.com
on 9 Nov 2009 at 2:01