Forum Replies Created

Viewing 15 posts - 2,266 through 2,280 (of 3,655 total)

  • RE: Naming Conventions

    I have come across a scenario where I have to move a table from an application specific database to a database that is shared by all applications.

    Given that it is...

  • RE: Tools You Need

    I would vote for Innovasys DocumentX and Apex SQL Doc as documentation tools.

  • RE: VS 2005 Project of type Database Project

    OK I am particularly interested in developing CLR functions, aggregates and procedures.

    Does anyone know of a download that would provide the datatypes or is there a general work around...

  • RE: How Do You Work?

    I think censorship is OK provided it correctly identifies work related sites.

    The problem comes in identifying those legitemate work related sites.

  • RE: Resizing Transaction Log

    After shrinking the log look up ALTER DATABASE MODFIY FILE in Books on Line.

  • RE: Resizing Transaction Log

    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')

  • RE: remote stored procedure

    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.

  • RE: Time for Training

    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...

  • RE: data types default values

    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'

  • RE: sqL2000 AND mysqL

    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...

  • RE: Multiple Keyword search

    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...

  • RE: How to get the identity column name of a table

    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...

  • RE: Working More?

    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...

  • RE: Installing second instance of sqlserver in cluster environment

    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...

  • RE: How to get the identity column name of a table

    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
    

Viewing 15 posts - 2,266 through 2,280 (of 3,655 total)