Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 is this possible

Author  Topic 

rnbguy
Constraint Violating Yak Guru

293 Posts

Posted - 2007-01-08 : 22:42:15
INSERT INTO #fraglist
EXEC (''''DBCC SHOWCONTIG (''+so.name+'') WITH FAST, TABLERESULTS, ALL_INDEXES, NO_INFOMSGS'''')

is there a way to insert the values returned by DBCC SHOWCONTIG into fraglist along with another value i set earlier to, to have this logic:

INSERT INTO #fraglist
@mina, EXEC (''''DBCC SHOWCONTIG (''+so.name+'') WITH FAST, TABLERESULTS, ALL_INDEXES, NO_INFOMSGS'''')

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2007-01-09 : 00:54:02
You got the answer here: [url]http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=77298[/url]

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page
   

- Advertisement -