Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running the SquiggleHistory.sql file | SQL Server version 11.0.2218. #14

Open
vanny1980 opened this issue May 9, 2018 · 1 comment

Comments

@vanny1980
Copy link

Hi,
When i run the SquiggleHistory.sql file once I've logged into Management Studios. I get the following error.

Msg 911, Level 16, State 1, Line 1
Database 'SquiggleHistory' does not exist. Make sure that the name is entered correctly.

After reading the WIKI i was to believe this would create the SquiggleHistory database. But it did not do that. Now when i run that command again. It now shows me the following errors.

Msg 911, Level 16, State 1, Line 1
Database 'SquiggleHistory' does not exist. Make sure that the name is entered correctly.
Msg 2714, Level 16, State 6, Line 1
There is already an object named 'Events' in the database.
Msg 2714, Level 16, State 6, Line 1
There is already an object named 'Participants' in the database.
Msg 2714, Level 16, State 6, Line 1
There is already an object named 'Sessions' in the database.
Msg 2714, Level 16, State 6, Line 1
There is already an object named 'StatusUpdates' in the database.
Msg 2714, Level 16, State 5, Line 1
There is already an object named 'FK_dbo.Events_dbo.Sessions_SessionId' in the database.
Msg 1750, Level 16, State 0, Line 1
Could not create constraint. See previous errors.
Msg 2714, Level 16, State 5, Line 1
There is already an object named 'FK_dbo.Participants_dbo.Sessions_SessionId' in the database.
Msg 1750, Level 16, State 0, Line 1
Could not create constraint. See previous errors.

Can you please confirm where it's creating these objects if the Database "SquiggleHistory" does not exist.

@hasankhan
Copy link
Owner

When database doesn't exist, it maybe trying to create it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants