PDA

View Full Version : خروجي در اكسل



tanha_nabash
دوشنبه 21 دی 1388, 08:03 صبح
من ي جدول دارم كه محتواي دفترچه تلفن است حالامي خام با ي استفاده از كويري هاي اسكيوال محتواي اين جدول را در ي اكسل بريزم فقط با دستور اسكيول نه برنامه نويسي hmport/export كه جواب نداد ميشه كمكم كنيد

amin_alexi
سه شنبه 22 دی 1388, 09:18 صبح
سلام
اين رو بخون كامل توضيح داده !

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926

فقط اگه به مشكلي خوردي كه گفته

SQL Server blocked access to STATEMENT 'OpenRowset/OpenDatasource' of component 'Ad Hoc Distributed Queries' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'Ad Hoc Distributed Queries' by using sp_configure. For more information about enabling 'Ad Hoc Distributed Queries', see "Surface Area Configuration" in SQL Server Books Online.

مي توني از اين دستورات استفاده كني !

sp_configure 'show advanced options', 1
GO
reconfigure
GO
sp_configure 'Ad Hoc Distributed Queries', 1
GO
reconfigure