|
Search:
Advanced search
|
Browse by category:
|
Glossary | Contact Us |
![]() |
| Sub Categories | |||||
|
Stored Procedures (2) MS SQL Server Stored procedures
|
2005 (4) MS SQL Server 2005
|
2000 (2) MS SQL Server Version 2000
|
|||
|
2008 (2) MS SQL Server 2008
|
|||||
|
Showing: 1-10 of 99 »»
Articles
|
|||||
|
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...
|
|||||
|
|||||
|
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]...
|
|||||
|
|||||
|
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...
|
|||||
|
|||||
|
How to change the owner of all tables in a database?
DECLARE @oldowner sysname, @newowner sysname, @sql varchar(1000)
SELECT
@oldowner = 'OLD_OWNER',
@newowner =...
|
|||||
|
|||||
|
how to build connection string for MS SQL Server?
Standard Security
Driver={SQL Server};Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;
Trusted...
|
|||||
|
|||||
|
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.
|
|||||
|
|||||
|
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
|
|||||
|
|||||
|
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.
|
|||||
|
|||||
|
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...
|
|||||
|
|||||
|
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...
|
|||||
|
|||||
Powered by
DBNest.com (Nest of DB Professionals)
