SQL Server access multi-database operations

Source: Internet
Author: User

Today, it's been a day.

Update the ACCESS library to check the information from the SQL SERVER 2008 repository. I can't find the information but I can do it by myself.

First find out how to use the SQL sentence

SELECT * from Restore_base in [Odbc][odbc;driver=sql Server; Server computer name; uid= account; pwd= password; database=)

Find this.

And then you start to write the update phrase.

I am depressed boring, how to write all write not right. Finally, you can only teach the Niang.

A different approach to access and SQL SERVER 2008

UPDATE TAB1 a,tab2 b

SET A.name = B.name

WHERE a.id = b.id;

And then I wrote it out.

Update Spring, (SELECT * from Restore_base in [Odbc][odbc;driver=sql Server; Server computer name; uid= account; pwd= password; database=) as B

Set Spring.nam = B.descript1

where SPRING.DWG=B.PRODNR

SQL Server access multi-database operations

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.