Viewing 15 posts - 2,326 through 2,340 (of 3,711 total)
After shrinking the log look up ALTER DATABASE MODFIY FILE in Books on Line.
September 20, 2006 at 12:48 pm
Firstly back up the transaction log.
Next run sp_helpdb 'YourDatabaseName'
Note the name of the log device
now run DBCC SHRINKFILE('TheLogFileName','Your desired size')
September 20, 2006 at 4:36 am
If the server is a linked server then SQLServer1.pubs.dbo.checkcontract should have worked.
You do have to tell SQL Server to create a linked server with the appropriate credentials though.
September 19, 2006 at 5:17 am
When my contracted hours were lower I used to do a lot of research in my own time. My wife works nights and I work days so there are...
September 13, 2006 at 5:16 am
CREATE DEFAULT df_now AS GETDATE()
CREATE DEFAULT df_today AS CONVERT(SMALLDATETIME,CONVERT(CHAR(10),GETDATE(),102),102)
CREATE TYPE dbo.ty_now FROM DATETIME NOT NULL
CREATE TYPE dbo.ty_today FROM SMALLDATETIME NOT NULL
exec sp_bindefault 'df_now','ty_now'
exec sp_bindefault 'df_today','ty_today'
September 12, 2006 at 2:16 am
I had SQL2K, SQL2005 and MySQL4.2 all coexisting on a development box.
I'm not sure if that is such a good idea on a production box but if you could have...
September 10, 2006 at 4:04 pm
I would start reading up about full-text indexes in SQL Server.
I would also look at the Thunderstone website for their Webinator search engine. It is a spider, which means...
September 10, 2006 at 4:02 pm
I think of the INFORMATION_SCHEMA views as being something like a programming interface. I know interfaces don't contain implementation, but as Andrew says, the underying tables may change but...
September 8, 2006 at 2:00 pm
If you are in a job you love with people you enjoy being with, time just flies by and you don't keep track of the hours.
My first job was 37.5...
September 8, 2006 at 2:20 am
From what I remember both SQL2000 and SQL2005 are cluster aware, which means that the 2nd instance will install on both nodes.
The installation routine should detect the existing instance and...
September 7, 2006 at 4:32 pm
DECLARE @TableName SysName , @ColumnName SysName SET @TableName = 'tblAccommodation' SELECT @ColumnName=COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE table_name=@TableName AND COLUMNPROPERTY(Object_Id(TABLE_NAME),COLUMN_NAME,'IsIdentity')=1 PRINT @ColumnName
September 7, 2006 at 3:42 am
Personally I save all changes in a script and practise the deployment.
The bigger the deployment the more important it is to have it automated.
September 6, 2006 at 3:30 pm
September 6, 2006 at 8:56 am
At the end of the day if the app fulfills the business need then it is mission accomplished whether it was written in VB3, 4, 5, 6 or JFDI.NET.
Yes migrating...
September 6, 2006 at 6:22 am
I fully understand your point but from my limited experience with .NET the stories of M$ investing more in .NET than NASA did in the moon shot are entirely believable.
It...
September 5, 2006 at 3:32 pm
Viewing 15 posts - 2,326 through 2,340 (of 3,711 total)