Way of using Attach command in SQLite
How attach command is used in SQLite. Which SQLite statement is executed to use the same.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
AartiRank #2,383 · 594 reputationPosted Nov 23, 2011, 10:54 PM EST
The ATTACH Command is used to add another database file to the current database connection.
Syntax: ATTACH DATABASE DatabaseName
SQLITE> ATTACH DATABASE 'MASTER'AS M
AartiRank #2,383 · 594 reputationPosted Nov 23, 2011, 10:54 PM EST
The ATTACH Command is used to add another database file to the current database connection.
Syntax: ATTACH DATABASE DatabaseName
SQLITE> ATTACH DATABASE 'MASTER' AS M