Quantcast
Viewing all articles
Browse latest Browse all 15889

SQL Server 2012 Management Studio & Visual Studio 2012 Express: Database & its Tables created in my SQL\EXPRESS & Database Explorer. Different in Table Name? Why?

Hi all,

I have SQL Server 2012 Express [that has SQL Server 2012 Management Studio (SSMS 2012)] and SQL Studio 2012 Express installed in my "Windows 7" PC. I can manually create a Database "BooksAuthorsLibrary" with 2 tables "Books" and "Authous" in the NAB-WK-01234567\SQLEXPRESS (SQL Server 11.0.2100) of my SSMS 2012. But I cannot export the Database and its 2 table to my SQL Server 2012 Express LocalDB via the SQL Server Import and Export Wizard (Error # 5105). 

From http://www.homeandlearn.co.uk/csharp/csharp.html, I saw the following:

C#.NET: Databases

1. SQL Server Express and C#.NET

2. Create a SQL Server Express Database

3. Create a SQL Server Table

4. Add Data to the Table

5. Datasets and Data Adapters in C#.NET

and I created a new Database "Database1.sdf" in the Database Explorer and 2 tables "Books" and "Authors" manually.   These 2 tables in "Database1.sdf" do not have "dbo" in front of the file name as the 2 tables "Books" and "Authors" in the Data Explorer of my  NAB-WK-01234567\SQLEXPRESS have.  I checked my NAB-WK-01234567\SQLEXPRESS and did not see the "Database1.sdf" in my NAB-WK-01234567\SQLEXPRESS. 2 Technical Questions to ask: (i) Are the tables "Books" and "Authors" in "Database1.sdf" different from the "Books" and "Authors" in my NAB-WK-01234567\SQLEXPRESS? (ii) Why do the tables "Books" and "Authors" in "Database1.sdf" not appear in my NAB-WK-01234567\SQLEXPRESS.  Please kindly help and answer these 2 questions. Other comments/tips related to these 2 questions are welcome to have.

Thanks in advance,

Scott Chang     


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>