Reputation: 2198
I am new in ms access In mysql we can export table structure as create query like the following
CREATE TABLE IF NOT EXISTS `audio_master` (
`audio_id` int(11) NOT NULL AUTO_INCREMENT,
`audio_title` varchar(255) DEFAULT NULL,
`course_id` int(11) DEFAULT NULL,
PRIMARY KEY (`audio_id`)
)
INSERT INTO `audio_master` (`audio_id`, `audio_title`, `course_id`) VALUES
(1, 'java audio', 1);
Like this I need to take from MS Access. How I can export like this using ms Access or sql server
Any suggestions or answers highly appreciated
Thanks in advance
Upvotes: 4
Views: 13049
Reputation: 31879
If you're using SQL Server Management Studio 2014:
You'll now have the CREATE TABLE
statement together with the INSERT
statements.
For SSMS 2008
Upvotes: 5
Reputation: 39
Hi You have Import and export option. Please find the bellow link, like this you follow and change the source and destinations.
http://sqlvagalla.blogspot.in/search?q=import
Upvotes: 0