Skip to main content

Notifications

Microsoft Dynamics RMS (Archived)

SQL Server Database Size.

Posted on by Microsoft Employee

what does SQL have an unlimited DB ?

currently, I am using SQL 2008 R2 witch has a 10 gb limit.

and how to check that how much gb left of sql db.

Thank you.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: SQL Server Database Size.

    Thank you for all reply.

    how can I check the Maximun DB size?

     

  • Verified answer
    RMS Wizard Profile Picture
    RMS Wizard 1,205 on at
    RE: SQL Server Database Size.

    To view current size you can run Store Operations or Headquarters Administrator, File, Connect, enter SQL password, OK, then select Database, Properties.

  • Verified answer
    archelle16 Profile Picture
    archelle16 1,735 on at
    RE: SQL Server Database Size.

    Have you tried this?

    USE databaseNameHere

    GO

    SELECT DB_NAME() AS DbName,

    name AS FileName,

    size/128.0 AS CurrentSizeMB,  

    size/128.0 - CAST(FILEPROPERTY(name, 'SpaceUsed') AS INT)/128.0 AS FreeSpaceMB

    FROM sys.database_files;

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans