SqlServer와 Oracle에서 자주 사용하는 ql문장 4 부분/전역 변수
-- wh1 " " 288
update set = +288 where ='wh1' and like '% %'
-- " " 100, 1
update set =( -100)*2 where in
(select from where =' ')
-- " " 80
update set = +80 where <
( select MIN( ) from where =' ')
-- 66
update set = -66 where > all(
select AVG( ) from group by )
--
delete where in (
(select MAX( ) from ),
(select min( ) from )
)
--
delete where > (select AVG( ) from )
-- " "," "
delete where in
(select from where in(' ',' '))
--
declare @str1 char(10),@str2 varchar(50), @x1 int, @x2 real,@time1 datetime
set @str1='good'
set @str2='hello,how are you?'
set @x1=12
set @x2=15
set @time1='2009/05/06'
print @str1
print @str2
print @x1
print @x2
print @time1
--
declare @str1 char(10),@str2 varchar(50), @x1 int, @x2 real,@time1 datetime
select @str1='good',@str2='hello,how are you?',@x1=12,@x2=15,@time1='2009/05/06'
select @str1 as 1,@str2 as 2,
@x1 as 1,@x2 as 2,@time1 as
--
declare @x int
set @x=2000
select * from where >@x
--
PRINT @@version
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
다양한 언어의 JSONJSON은 Javascript 표기법을 사용하여 데이터 구조를 레이아웃하는 데이터 형식입니다. 그러나 Javascript가 코드에서 이러한 구조를 나타낼 수 있는 유일한 언어는 아닙니다. 저는 일반적으로 '객체'{}...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.