Does each line of code for the Sqlsever base script end with a write semicolon?

Source: Internet
Author: User

No, write not write all can, but to write a comma, give a code example to see it

1 Create DatabaseHelloWorld2 3 --set properties for MDF files4  on Primary5 (6Name= 'Ahelloworldlogic',--the logical name of the MDF file (not the file name)7FileName= 'C:\Users\Administrator\Desktop\aHelloWorld.mdf',--the storage path of the MDF file and its file name8Size=5MB,--Initial size is 5 megabytes9FileGrowth=Ten%,--each time the file grows 10%TenMaxSize=10mb--Maximum file size is 10 MB One ) A --set related properties for a log file - Log  on  - ( theName='Ahelloworld_loglogic',--logical name of the log file (not the file name) -FileName='C:\Users\Administrator\Desktop\aHelloWorld_log.ldf',--where the log file exists and its file name -Size=1MB,--log file Initial size -FileGrowth=Ten%,--log file is full, add 10% capacity at a time +MaxSize=10mb--log file Max 10mb -)

However, if you are using other database software, you may need to write.

Does each line of code for the Sqlsever base script end with a write semicolon?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.