Viewing 10 posts - 1 through 10 (of 10 total)
Truncate of table can resolve the problem, might be follow these step to perform this task-
STEP.1 - CREATE TRIGGER on BEFORE INSERT event to get table count and if count=0...
January 12, 2012 at 4:50 am
Does it will make any seance to change datatype ntext to NVARCHAR.
January 12, 2012 at 4:32 am
Hi Gila,
User already performing shrinkdatabase command and it was not giving proper solution to him that's why he posted the problem so he might have already know the advantage and...
January 12, 2012 at 4:24 am
I am completely agree with Gail without creating the Cluster Index you will not be able to release size from table even you will have to REORG the index then...
January 12, 2012 at 4:08 am
You can attached database mdf file without ldf file, see example given below:-
sp_attach_single_file_db @dbname='Amber',@physname='S:\AMBERDATAFILE\Amber.mdf'
January 12, 2012 at 3:56 am
Data file can be repaired by DBCC repair command but there is risk of data loss so first take the database backup and also record all table count in excel...
January 9, 2012 at 11:44 pm
This SQL query will help to find table name and column name in database which column value length is 9.
DECLARE @Tab_Name VARCHAR(500)
DECLARE @Col_Name VARCHAR(500)
DECLARE @SQL NVARCHAR(MAX)
CREATE TABLE #TMP_Details(TabName VARCHAR(500) NOT...
January 9, 2012 at 11:08 pm
I hope this link can help you to understand the topic.
http://sqlblog.com/blogs/kalen_delaney/archive/2008/02/28/fragmentation-revisited.aspx
January 6, 2012 at 5:09 am
Hi,
I hope this could help you..
DECLARE @SchName VARCHAR(100)
DECLARE @TabName VARCHAR(500)
DECLARE @ColName VARCHAR(500)
DECLARE @DataType VARCHAR(100)
DECLARE @DySQL NVARCHAR(MAX)
DECLARE CUR_UPDATE_TABLE CURSOR FAST_FORWARD FOR
SELECT s.name,t.name,c.name, sys.types.name FROM sys.columns AS...
January 5, 2012 at 11:02 pm
Viewing 10 posts - 1 through 10 (of 10 total)