Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

can you put a break command in sql

WHILE Boolean_expression
BEGIN
    -- statements
   IF condition
        BREAK;
    -- other statements    
END
Code language: SQL (Structured Query Language) (sql)
Source by www.sqlservertutorial.net #
 
PREVIOUS NEXT
Tagged: #put #break #command #sql
ADD COMMENT
Topic
Name
6+8 =