LR parameterized connection to SQL Server database

Source: Internet
Author: User

1. After the script is recorded, select the value to be parameterized and right-clickReplace...

 

2. SelectProperties ...,After entering the page, selectData wizard...

 

3.Specify SQL statement manually, Next step

 

4. PointCreateAnd then click "new". The page for creating a new data source appears.

 

5. SelectSQL Server, Next, click "Browse" to create a file and select the storage path. Next, click Finish.

 

6. The "create SQL Server" data source appears. The description can be left blank. The server writes the IP address of the machine to be connected. (The drop-down box automatically scans all IP addresses in the LAN)

Next, select "verify the login ID and password entered by the Trial user". Write the login name and password below. SQL server uses Sa by default.

 

7. Change the default database (the database to be connected) and click Next.

 

8. Test the data source. Success ~ Hey

 

9. ReturnData wizardSelect the created DSN File. After the database is connected successfullySQL statementlWrite the query statement, and the query structure is automatically written.

 

 

 

 

 

 

 

Related Article

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.