Each database has a minimum of two files associated with the database. If a database has more than one filegroup it will have many files associated with one database. Following quick script will give you recordset per file of a database which is stored in master database.
SQL SERVER – Introduction to Statistical Functions – VAR, STDEVP, STDEV, VARP
Yesterday I wrote article about SQL SERVER – Introduction to Aggregate Functions. I received one email that four of the aggregate functions are statistical function and I should write something about that. VAR, STDEVP, STDEV, VARP are statistical functions as well they absolutely fit in the definition of aggregate function…
Read MoreSQL SERVER – Introduction to Aggregate Functions
Recently I have been taking many interviews to increase work force in my companies outsourcing establishment. One question I ask to all interview candidates. What is Aggregate Function? So far I have received two different kind of response. First, I do not know. Second, AVG, SUM, COUNT are aggregate functions.…
Read MoreSQL SERVER – 2005 Best Practices Analyzer (January 2008)
The SQL Server 2005 Best Practices Analyzer (BPA) gathers data from Microsoft Windows and SQL Server configuration settings. With this tool, you can test and implement a combination of SQL Server best practices and then implement them on your SQL Server. The SQL Server 2005 Best Practices Analyzer gathers data…
Read MoreSQLAuthority News – Job Description of Database Administrator (DBA) or Database Developer
Job Description of Database Administrator (DBA) or Database Developer Develop standards and guidelines to guide the use and acquisition of software and to protect vulnerable information. Modify existing databases and database management systems or direct programmers and analysts to make changes. Test programs or databases, correct errors and make necessary…
Read MoreSQLAuthroity News – Microsoft SQL Server 2000 Assessment Configuration Pack
Microsoft SQL Server 2000 Assessment Configuration Pack for Federal Information Security Management Act (FISMA) This configuration pack contains configuration items intended to help you establish and validate a desired configuration for your SQL 2000 servers in order to support your Federal Information Security Management Act compliance efforts. Microsoft SQL Server…
Read MoreSQL SERVER – What is – DML, DDL, DCL and TCL – Introduction and Examples
DML DML is abbreviation of Data Manipulation Language. It is used to retrieve, store, modify, delete, insert and update data in database. Examples: SELECT, UPDATE, INSERT statements DDL DDL is abbreviation of Data Definition Language. It is used to create and modify the structure of database objects in database. Examples:…
Read MoreSQL SERVER – Time Out Due to Executing DELETE on Large RecordSet
Just a day ago, I received following question: “I have large table more than 1M rows. I want to delete every row in my table. Everytime I ran DELETE statement, it times out and does not do it job. The data in table is useless and I do not need…
Read MoreSQLAuthority News – Good Motivational Quotes for Interviews
Here are few motivational quotes for candidates who are appearing for interview. I have collected this throughout the years and it is running list of the interview. Please feel free to let me know if you find any such good interview quote and I will update in this list.
SQL SERVER – 2005 – Change Compatibility Level – T-SQL Procedure
Six months ago I wrote article about SQL SERVER – 2005 Change Database Compatible Level – Backward Compatibility. Yesterday I received an email asking that one of my blog reader is not able to use the sp_dbcmptlevel command with error that database is in use. He has asked me to…
Read More