Search:     Advanced search
Browse by category:
Glossary | Contact Us

Database Knowledge Base / MS SQL Server
Sub Categories
 
folder Stored Procedures (2)
MS SQL Server Stored procedures
folder 2005 (4)
MS SQL Server 2005
folder 2000 (2)
MS SQL Server Version 2000
folder 2008 (2)
MS SQL Server 2008


Showing: 1-10 of 99    »»
Articles
 
document How we can back up all databases in SQL Server
USE master GO SET NOCOUNT ON DECLARE @BackupPath nvarchar(500) DECLARE @BackupDBFile nvarchar(500) DECLARE @BackupLogFile...
17 Aug, 2007 Views: 388 Comments: 0
document How we can perform MINUS (Oracle) Or EXCEPT (Maxdb) in MS Access?
 Following query shows all records those are available in table 1 but not available in table 2 SELECT * FROM [TABLE1] LEFT JOIN [TABLE2]...
09 Oct, 2007 Views: 276 Comments: 0
document what is the method to change location of tempdb?
1. Determine the logical file names of the tempdb database and their current location on the disk. SELECT name, physical_name FROM...
07 May, 2008 Views: 131 Comments: 0
document How to change the owner of all tables in a database?
DECLARE @oldowner sysname, @newowner sysname, @sql varchar(1000) SELECT   @oldowner = 'OLD_OWNER',   @newowner =...
17 Aug, 2007 Views: 1068 Comments: 4
document how to build connection string for MS SQL Server?
Standard Security Driver={SQL Server};Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;   Trusted...
16 Aug, 2007 Views: 216 Comments: 0
document If the TempDB Database is deleted from MS-SQL Server what will happen..?
TempDB will be re-created automatically when you restart SQLServer. You can't delete TempDB while SQLServer is running.
07 Oct, 2007 Views: 230 Comments: 0
document How to insert a not null column in an existing table with records..?
Either assign a DEFAULT value to the column, or make it nullable to start with, populate the column and then alter it to NOT NULL
17 Aug, 2007 Views: 217 Comments: 0
document If a table is deleted, what will happen for the Stored procedures and Views, which that table reffered..?
Dependent SPs and views won't be deleted but they will generate an error  when they are used.
17 Aug, 2007 Views: 185 Comments: 0
document Is there an easy way to loop through every stored procedure in a database and create a file containing all of the SP code?
By joining sysobject and syscomments table we can get your desired results, run this query in Query Analyzer (with result in text...
18 Aug, 2007 Views: 374 Comments: 0
document What is denormalization and when would you go for it?
As the name indicates, denormalization is the reverse process of normalization. It's the controlled introduction of redundancy in to the database...
19 Aug, 2007 Views: 187 Comments: 0



RSS