Laploy's profileLoy Business Intelligenc...PhotosBlogListsGuestbook Tools Help
ท่านผู้อ่านที่ต้องการถามคำถาม หรือแสดงความคิดเห็น กรุณากรอกข้อความของท่านลงในกระดานคำถามนี้

Comments (2)

Please wait...
Sorry, the comment you entered is too long. Please shorten it.
You didn't enter anything. Please try again.
Sorry, we can't add your comment right now. Please try again later.
To add a comment, you need permission from your parent. Ask for permission
Your parent has turned off comments.
Sorry, we can't delete your comment right now. Please try again later.
You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
Complete the security check below to finish leaving your comment.
The characters you type in the security check must match the characters in the picture or audio.

To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


Don't have a Windows Live ID? Sign up

ตอบคุณ Casper : ให้ใช้เซอร์วิสชื่อ Replicationn Service (RS)  เป็นเซอร์วิสที่มีอยู่ใน MS-SQL ทุกเอดิชันตั้งแต่ SQL2000 เรื่อยมา  การคัดลอกที่ว่านี้คือการก็อปปี้ข้อมูลจากฐานข้อมูลหนึ่งไปใส่ในอีกฐานข้อมูลหนึ่ง อาจทำเพื่อการสำรองข้อมูล การตัดยอดข้อมูล การผสมข้อมูล  การเผยแพร่ข้อมูล ฯลฯ โดยจะมีระบบฐานข้อมูลซึ่งทำหน้าที่เป็นผู้ส่ง (Publisher) ทำหน้าที่ส่งข้อมูลที่กำหนดไว้ล่วงหน้าว่าต้องการให้คัดลอก และมีระบบฐานข้อมูลซึ่งทำหน้าที่เป็นผู้รับ (Subscriber) ทำหน้าที่คอยรับข้อมูลจากผู้ส่งเพื่อนำไปผนวกกับฐานข้อมูลเดิมของตน ใช้งานไม่ยากแต่ DBA จะต้องวางแผนไว้อย่างชัดแจนว่าต้องการคัดลอกข้อมูลอะไร จากไหนไปไหน มีขอบเขตอย่างไร จะให้ทำงานเมื่อใด ฯลฯ ทั้งหมดนี้เรียกว่าแผนการคัดลอก (Replication schema)
29 July
casperwrote:
สวัสดีครับอาจารย์   ผมมีข้อสงสัยเกี่ยวกับการดึงข้อมูลจาก database sql server 2005 ที่อยู่ต่างเครื่องกัน 5-6 มาไว้ที่ sql server ตัวเดียวที่เป็น center ทุกๆช่วงเวลาที่กำหนด  ในทางปฎิบัติใช้วิธีการไหนในการดึงครับ  คือที่ตัว sql server 2005 เองมี feature นี้หรือต้องวิธีเขียน program ดึงเองครับ   ถ้าต้องเขียน script เองสามารถใช้ความสามารถอะไรใน sql server 2005 ช่วยทำงานนี้ได้ง่ายขึ้นไหมครับ  ขอบคุณมากครับ
21 July