You can see the statistics by running dbcc show_statistics (you can read about it BOL which is the help that is installed when you install SQL Server’s client tools). As much as I know you can only see the statistics or use UPDATE STATISTICS statement (again, you can see details about it in BOL) to update the statistics on a table or view, but you can not insert your own statistics that were taken from a different server.

I don't want to transfer the statistics number but just the definition on the ones created with the "create statistics" command. Some statistics were create and I would like to replicate the definition on another database.

Is there a way to generate a script or extract all existing statistics in a databases? I would like to replicate the statistics on a different server.

Thanks

Rem,

I guess I understood your question. You want to create a statistics only database right? That means, you don't want to worry about the underlying data but just the statistics so that youcould simulate a similar database environment.

Well, if you are looking for this, this is possible and some people refer to it as database cloning.For more details, you could refer this link below, which is very useful.

http://support.microsoft.com/default.aspx?scid=kb;EN-US;914288

With this, we could clone a database without having to worry about the data. We would be able to simulate the same conditions as in the original database. The prerequisite is you need to have atleast SQL Server 2005 SP2 and above.