iaud-sql-guide

Define i-AUD DataSource SQL with parameter binding and dynamic scripting.

3|1|Updated Jun 12, 2025
Ready to run
npx skills add https://github.com/AUD-DEV-TEAM/i-AUD-Developer-Kit --skill iaud-sql-guide
๐Ÿ’ฌ Prompt for ChatGPT / Claude Chatโ–ผ
Please help me install this Agent Skill.
Skill: iaud-sql-guide
Source: https://github.com/AUD-DEV-TEAM/i-AUD-Developer-Kit/tree/main/.claude/skills/iaud-sql-guide
Command: npx skills add https://github.com/AUD-DEV-TEAM/i-AUD-Developer-Kit --skill iaud-sql-guide

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

i-AUD DataSource SQL ์ž‘์„ฑ์— ํ•„์š”ํ•œ ํŒŒ๋ผ๋ฏธํ„ฐ ๋ฐ”์ธ๋”ฉ ๊ทœ์น™, ํŠน์ˆ˜ ์ง€์‹œ์ž, IN์ ˆ ์ฒ˜๋ฆฌ, Dynamic SQL, ํ”„๋กœ์‹œ์ € ํ˜ธ์ถœ ๋“ฑ์„ ๋ช…ํ™•ํ•˜๊ฒŒ ์•ˆ๋‚ดํ•ฉ๋‹ˆ๋‹ค. ์ด ๊ฐ€์ด๋“œ๋Š” VS_/VN_ ์ ‘๋‘์‚ฌ ๊ทœ์น™, ์ผ๋ฐ˜ ํŒŒ๋ผ๋ฏธํ„ฐ ๋ฐ”์ธ๋”ฉ, ๋„ค์ดํ‹ฐ๋ธŒ ์„ธ์…˜ ๊ฐ’ ์‚ฌ์šฉ ๋ฐฉ๋ฒ• ๋“ฑ์„ ์ •๋ฆฌํ•˜์—ฌ ๊ฐœ๋ฐœ์ž์˜ SQL ์ž‘์„ฑ ๋ถ€๋‹ด์„ ์ค„์ž…๋‹ˆ๋‹ค.

Core Features & Use Cases

  • VS_/VN_ ์ ‘๋‘์‚ฌ ๋ฐ ์ผ๋ฐ˜ ํŒŒ๋ผ๋ฏธํ„ฐ ๋ฐ”์ธ๋”ฉ ๊ทœ์น™๊ณผ ๊ฐ’ ๊ฐ์‹ธ๊ธฐ/๋ฏธ๊ฐ์‹ธ๊ธฐ ์ฐจ์ด๋ฅผ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค.
  • ํŠน์ˆ˜ ์ง€์‹œ์ž(@, %, $, ::)๋ฅผ ํ™œ์šฉํ•œ ๋ผ์ธ ์ œ๊ฑฐ, LIKE ๋งค์นญ, ์„ธ์…˜ ๊ฐ’ ๊ฐ•์ œ ์‚ฌ์šฉ ๋“ฑ์˜ ๋™์  ์ œ์–ด๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.
  • IN ์ ˆ ์ฒ˜๋ฆฌ, NVarchar ๋Œ€์‘, ํŒŒ์ผ/๋ฐ์ดํ„ฐ ์†Œ์Šค ์„ ํƒ ๋ฐฉ๋ฒ• ๋“ฑ์„ ํฌํ•จํ•œ ๋ฐ์ดํ„ฐ์†Œ์Šค ์ˆ˜์ค€์˜ ๊ทœ์น™์„ ๋‹ค๋ฃน๋‹ˆ๋‹ค.
  • ๋™์  SQL ์ž‘์„ฑ์€ <%% %> ๋ฐ <%= %> ๊ตฌ๋ฌธ์œผ๋กœ JavaScript ๊ธฐ๋ฐ˜์œผ๋กœ SQL์„ ๊ตฌ์„ฑํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์ œ์‹œํ•ฉ๋‹ˆ๋‹ค.
  • ํ”„๋กœ์‹œ์ € ํ˜ธ์ถœ ํ˜•์‹, ์ฃผ์„ ์ฒ˜๋ฆฌ ๊ทœ์น™, PreparedStatement ๋ฐ”์ธ๋”ฉ์œผ๋กœ ์•ˆ์ „ํ•œ ์ฟผ๋ฆฌ ์ƒ์„ฑ์„ ์•ˆ๋‚ดํ•ฉ๋‹ˆ๋‹ค.

Quick Start

์ƒ˜ํ”Œ SQL์—์„œ VS_/VN_ ํŒŒ๋ผ๋ฏธํ„ฐ ๋ฐ”์ธ๋”ฉ๊ณผ <% %> ๋™์  ๊ตฌ๋ฌธ์„ ์ ์šฉํ•˜์—ฌ ์ตœ์ข… ์‹คํ–‰ ์ฟผ๋ฆฌ๋ฅผ ์ƒ์„ฑํ•ด ๋ณด์„ธ์š”.

Frequently Asked Questions about iaud-sql-guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bind parameters in i-AUD DataSource SQL queries?โ–ผ

i-AUD SQL parameter binding uses VS_ and VN_ prefixes to control value wrapping, alongside standard parameter binding for safe PreparedStatement query generation across report and data access layers.

What is dynamic SQL and how do I write it in i-AUD data sources?โ–ผ

Dynamic SQL in i-AUD data sources is constructed using JavaScript-based blocks with <%% %> and <%= %> syntax, allowing developers to conditionally build and format query strings at runtime.

How do I handle IN clauses and NVarchar types in i-AUD SQL?โ–ผ

IN clause handling and NVarchar type mapping in i-AUD SQL are managed through data-source level binding rules, ensuring proper parameter expansion and type conversion for safe query execution.

What are the special directives in i-AUD SQL and when should I use them?โ–ผ

Special directives in i-AUD SQL include @, %, $, and ::, used for dynamic line removal, LIKE matching patterns, forcing native session values, and controlling query generation safely.

Can I call stored procedures in i-AUD DataSource SQL?โ–ผ

Stored procedures can be called within i-AUD DataSource SQL by following specific procedure invocation formats and PreparedStatement binding rules, ensuring safe and formatted query generation.

Why are my VS_ and VN_ prefixed parameters not binding correctly in i-AUD?โ–ผ

VS_ and VN_ prefixed parameters may fail to bind correctly in i-AUD if the distinction between value wrapping and non-wrapping rules is misapplied, or if special directive syntax is improperly formatted.