Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Query the size and version info of the database
Sun, Feb 1 2015 5:35 PMPermanent Link

Ideal Software Systems

In SQL Server I use a query like this to query the size and server version:
    select CAST(SUM(size) * 8. AS integer) as size, @@Version dbversion  
      from sys.master_files WITH(NOWAIT)
   where database_id = DB_ID()
group by database_id

What would the equivalent in ElevateDB be?
Fri, Feb 13 2015 2:48 PMPermanent Link

Ideal Software Systems

No ideas on this one?

Ideal Software Systems wrote:

In SQL Server I use a query like this to query the size and server version:
    select CAST(SUM(size) * 8. AS integer) as size, @@Version dbversion  
      from sys.master_files WITH(NOWAIT)
   where database_id = DB_ID()
group by database_id

What would the equivalent in ElevateDB be?
Wed, Feb 18 2015 11:39 AMPermanent Link

Raul

Team Elevate Team Elevate

On 2/13/2015 2:48 PM, Ideal Software Systems wrote:
> No ideas on this one?
>
> Ideal Software Systems wrote:
>
> In SQL Server I use a query like this to query the size and server version:
>       select CAST(SUM(size) * 8. AS integer) as size, @@Version dbversion
>         from sys.master_files WITH(NOWAIT)
>      where database_id = DB_ID()
> group by database_id
>
> What would the equivalent in ElevateDB be?

I don't think you can get either of these today with EDB built-in
capabilities - you can extend EDB though to obtain them.

There is also a table version available that might serve your purpose
(not sure what you need to do with the db version).

Raul


Image