Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Can't open Microsoft Pubs database



I am totally new to Power BI and SQL. I am studying a book that uses Microsoft Pubs sample database. I have trying to install this database on my PC for the past three days and for some reason it is not working. I tried every tutorial available online on two PCs and still no luck. 

The message I have been getting is "an error occurred when attaching the database click the hyperlink in the message." It is worth noting that there is no hyperlink to click at. 


Any help would be greatly appreciated. 

New Member

The Pubs database provides a set of fictional pieces of information about publishers, authors, titles, and sales of books. It is now considered obsolete; it is no longer provided with SQL Server since the 2008 version. The tables and fields should be quite obvious.


Hope This Works,


Helpful resources


2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.