T-SQL : sp_executesql

sp_executesql

: 여러 번 사용할 수 있거나 동적으로 빌드된 Transact-SQL 문이나 일괄 처리를 실행합니다. Transact-SQL 문 또는 일괄 처리는 포함 매개 변수를 포함할 수 있습니다.

ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.ko/tsqlref9/html/a8d68d72-0f4d-4ecb-ae86-1235b962f646.htm

구문

sp_executesql [ @stmt = ] stmt
[
{, [@params=] N'@parameter_name data_type [ OUT | OUTPUT ][,...n]' }
{, [ @param1 = ] 'value1' [ ,...n ] }
]


예제 1.

more..




예제 2.

more..

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2007/06/20 10:12 2007/06/20 10:12
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/2483

Trackback URL : http://tcbs17.cafe24.com/tc/trackback/2483

« Previous : 1 : ... 3930 : 3931 : 3932 : 3933 : 3934 : 3935 : 3936 : 3937 : 3938 : ... 6391 : Next »

블로그 이미지

- 홍반장

Archives

Recent Trackbacks

Calendar

«   2024/05   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Statistics Graph

Site Stats

Total hits:
185876
Today:
134
Yesterday:
745