Thursday, April 4, 2013

[SQL 2012] Different editions on same host

[SQL 2012] Different editions on same host


Different editions on same host

Posted: 04 Apr 2013 01:17 AM PDT

I am trying to find a statement from Microsoft that different editions of SQL server are supported on the same host. Can anyone point this out, I've spent a while searching but not found anything in the documentation.For exampleSQL Server 2012 Standard Edition, and Enterprise Edition instances on the same host.We need this for upgrade scenarios.Thanks

Sp_msforeachdb syntax error

Posted: 03 Apr 2013 11:53 PM PDT

Good day all,I am having a small issue with a line of code for a column which is being used in a sp_msforeachdb in a SSIS package. I cannot get it run with out throwing a syntax error. It works if I run it from MS raw however within Visual Studio it bombs. Thanks in advance.'CREATE INDEX [missing_index_' + CONVERT (varchar, mig.index_group_handle) + '_' + CONVERT (varchar, mid.index_handle) + '_' + LEFT (PARSENAME(mid.statement, 1), 32) + ']' + ' ON ' + mid.statement + ' (' + ISNULL (mid.equality_columns,'') + CASE WHEN mid.equality_columns IS NOT NULL AND mid.inequality_columns IS NOT NULL THEN ',' ELSE '' END + ISNULL (mid.inequality_columns, '') + ')' + ISNULL (' INCLUDE (' + mid.included_columns + ')', '') AS create_index_statement,

Temp Table sort order

Posted: 03 Apr 2013 04:50 AM PDT

Is there a way to change the order that "select * from #table" returns data? It doesn't appear to return data in the same order that it was inserted into the table. This wasn't a problem with the same code in SQL Server 2005.

Fehler in Metadaten-Manager in SSAS-Projekt

Posted: 03 Apr 2013 03:50 AM PDT

Hi allerseits,wir sind seit Ende letzter Woche mit einem hässlichen Fehler konfrontiert und wissen aktuell keinen Ausweg.Wenn man das SSAS-Projekt in Visual Studio 2010 öffnen möchte, kommt folgender Fehler:[quote]Fehler im Metadaten-Manager. Die Dimension mit der ID 'Dim Produktgruppe' und dem Namen 'Dim Produktgruppe', auf die der T04_PlUmsatzSonneBP-Cube verweist, ist nicht vorhanden.Fehler im Metadaten-Manager. Fehler beim Laden von 'T04_PlUmsatzSonneBP' (cube) aus der Datei '\\?\C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Data\OLAP.0.db\T04_PlUmsatzSonneBP.8.cub.xml'.[/quote]Auch die Verbindung im Management-Studio wird mit einer Fehlermeldung quittiert.Eine Rücksicherung der Dateien aus dem Ordner "C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Data\OLAP.0.db" von vorangegangenen Tagen brachte keinen Erfolg... es kommen immer wieder ähnliche Fehler.Zu diesem Thema konnte ich folgendes in einem Blog finden: [url=http://sqljoe.wordpress.com/2011/03/22/ssas-errors-in-the-metadata-manager-the-dimension-with-id-of-xxx-referenced-by-the-xxx-cube-does-not-exist/]Klick[/url]. Allerdings bezieht sich das auf den SQL-Server 2008 (R2), und nicht auf den 2012er. Generell hätte seine Lösung auch bei uns funktioniert, allerdings haben wir kein "Offline-Projekt", welches wir neu deployen könnten. Der Grund hierfür ist, dass wir aktuell ein neues Reporting- und Planungswerkzeug integrieren, welches es quasi verbietet, offline-SSAS-Projekte aus Visual Studio zu deployen (sonst würden wir die durch diese Software automatisch erzeugten Cubes und sogenannten CheckOut-Dimensionen zerstören).Jetzt stehen wir da, und wissen nicht, wie wir das SSAS-Projekt wieder "zum Leben erwecken" können. Die Datei, die in der Fehlermeldung angemeckert wird, wird aus einem Backup des Verzeichnisses auch automatisch nach Dienststart des Analysis-Service gelöscht (Zusammen mit ca. 1400 weiteren Dateien!!).#############################Hi everybody,since last week, we are faced with an "ugly" error message when opening an SSAS-Project in Visual Studio 2010:[quote]Errors in the metadata manager. The dimension with ID of 'Dim Produktgruppe', referenced by the 'T04_PlUmsatzSonneBP' cube, does not exist.Errors in the metadata manager. An error occurred when loading the T04_PlUmsatzSonneBP cube, from the file, '\\?\C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Data\OLAP.0.db\T04_PlUmsatzSonneBP.8.cub.xml'.[/quote]Same or equal error message when trying to connect with Microsoft Management Studio.We restored a backup of the folder, which was a few days older, but this did not solve the problem. The error-message still raises up. There is a blog, where such behaviour was previously mentioned on sql server 2008 (R2) here: [url=http://sqljoe.wordpress.com/2011/03/22/ssas-errors-in-the-metadata-manager-the-dimension-with-id-of-xxx-referenced-by-the-xxx-cube-does-not-exist/]Click[/url]But the given solution does not work in our environment, because we do not have an offline SSAS-Project (offline-development is not allowed because of a new tool for reporting and planning-purpose which creates its own cubes and dimensions out of the tool. So a deployment could lead to deleting their data!)So, what else could we do to restore the SSAS-Project? By the way, about 1400 files are automatically deleted from the mentionend "OLAP.0.db"-folder when starting the Analysis Service after a restore of the corrupted data!?

No comments:

Post a Comment

Search This Blog