Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • Reply To: Choosing Rows or Range

    select sum(UnitPrice) over (partition by SalesOrderID) price, SalesOrderID from [Sales].[SalesOrderDetail]

    and see below output for above query. output

     

    Can you please share the query with Range?

     

  • Reply To: Space allocated to the databases by disk letters

    Make sure you want to move all database or particular database.

    For all database above query is fine but for particular database can we use below queries,

    SELECT DB_NAME(database_id)...

Viewing 2 posts - 1 through 2 (of 2 total)