2011-10-20 72 views

回答

-2

不幸的是,我不太熟悉SQL Server 2005 如何導入和導出嚮導? 嚮導應該有選擇的目標類型的選項

-1

你可以做的就是使用這個腳本來獲取所有表數據,並複製粘貼的結果到Excel文件:

SELECT o.name AS TableName 
    , c.name AS ColumnName 
    , t.name AS DataType 
    , c.Max_Length 
    , c.Precision 
    , c.Scale 
FROM sys.objects AS o 
INNER JOIN sys.columns AS c ON o.object_id = c.object_id 
INNER JOIN sys.types AS t ON c.user_type_id = t.user_type_id 
WHERE type = 'U' 
ORDER BY 
    o.name 
    , c.name 
相關問題