Forums Neueste Beiträge
 

sqlcmd - Verbindung zu Sharepointdatenbank

21/08/2007 - 13:17 von Alexander Szigetvary | Report spam
Hi NG!

Ich muss in eine Sharepoint-Datenbank etwas nachsehen. Die Datenbank heißt:

SharePoint_AdminContent_e252eb73-e5b8-4495-a8aa-554599562e6b

Folgendes schlàgt aber leider fehl:

1.
1> use SharePoint_AdminContent_9f51442d-ae79-4d74-86c1-fc620560aef7
2> go
Meldung '911', Ebene '16', Status '1', Server 'WEB\MICROSOFT##SSEE', Zeile 1
'Could not locate entry in sysdatabases for database
'SharePoint_AdminContent_9f51442d'. No entry found with that name. Make sure
that the name is entered correctly.'

2.
1> use 'SharePoint_AdminContent_9f51442d-ae79-4d74-86c1-fc620560aef7'
2> go
Meldung '102', Ebene '15', Status '1', Server 'WEB\MICROSOFT##SSEE', Zeile 1
'Incorrect syntax near
'SharePoint_AdminContent_9f51442d-ae79-4d74-86c1-fc620560aef7'.'

3.
1> use "SharePoint_AdminContent_9f51442d-ae79-4d74-86c1-fc620560aef7"
2> go
Meldung '102', Ebene '15', Status '1', Server 'WEB\MICROSOFT##SSEE', Zeile 1
'Incorrect syntax near
'SharePoint_AdminContent_9f51442d-ae79-4d74-86c1-fc620560aef7'.'

Wie muss ich das "use" in sqlcmd verwenden?

Alex
 

Lesen sie die antworten

#1 Tanja Dunker
21/08/2007 - 14:05 | Warnen spam
Hi Alexander!

SharePoint_AdminContent_e252eb73-e5b8-4495-a8aa-554599562e6b



Netter DB-Name :-).

1> use SharePoint_AdminContent_9f51442d-ae79-4d74-86c1-fc620560aef7



Probiers mal mit USE
[SharePoint_AdminContent_e252eb73-e5b8-4495-a8aa-554599562e6b],
also den DB-Namen in eckigen Klammern.

Gruss

Tanja

Ähnliche fragen