Hvala, ali to mi ne pomaze sa ovim sta sam sebi uvrteo u glavu
Pokusavam da napravim uslovni
where, nesto kao:
Code:
declare @a int
set @a = 0
select * from Office
where ( case @a
when 0 then 1 -- bezuslovno
when 1 then (Identifier = 'bgd')
when 2 then (Location = 'scg') end
) = 1
Ovo lepo radi za prvi slucaj, ali se buni kod =.
Jos jedna stvar mi nije jasna. Prevodilac ne prepoznaje true/false reci, zali se da ne moze da nadje kolone true/false.
Dok Query Analyzer oboji true/false kao da su ispravni izrazi, a ne kolone ?!
America national sport is called baseballs. It very similar to our sport, shurik, where we take dogs, shoot them in a field and then have a party.