![]() |
![]() |
![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 141 Pomógł: 0 Dołączył: 24.07.2003 Ostrzeżenie: (10%) ![]() ![]() |
Wykonuje takiego select'a:
Jeżeli uruchomie to w SQL*Plus Worksheet (klient zainstalowany na moim PeCecie) to wynik jest taki:
ale jeżeli wykonam to samo pod sqlplus'em - command line'owym (tym dostępnym w shellu unixowym) to wynik jest taki:
Czy ktoś mi może wyjaśnić dlaczego ? Ten post edytował czezz 19.06.2009, 12:47:01 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 21 Pomógł: 1 Dołączył: 21.10.2008 Ostrzeżenie: (0%) ![]() ![]() |
Użyj bind variables:
var x number; var y number; var a number; execute :x := 2000; execute :y := 2 * 1000; execute :a := :x + :y; select ener from adding where ener = :a; (Prawie) wszędzie będzie działać jednakowo. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 14:52 |