Forum Replies Created

Viewing 15 posts - 3,061 through 3,075 (of 3,615 total)

  • RE: Lookup Table Madness

    CREATE TABLE Code (

      CodeID int IDENTITY(1,1)

      , CodeType int

      , Description varchar(255))

    ALTER TABLE Code ADD CONSTRAINT PK_Code PRIMARY KEY (CodeID, CodeType)

    I would put CodeID as the PRIMARY KEY and...

  • RE: The State Of IT

    OK here is a provocative comment.

    IT outsourcing is the fault of the existing IT departments.  Failure to communicate and integrate with their businesses has lead to them being viewed as...

  • RE: The State Of IT

    My big beef about outsourcing is that there is a huge separation between the people requesting the system and the people delivering the system.

    If you work within a company then...

  • RE: Multiple SPs versus SP with branches

    I got quite enthusiastic about the ability to append group procs together, until I realised you can't explicitly drop a particular proc in a group.

  • RE: Query from 2 different servers (SS 7.0 and SS 2k)

    Are you querying the SQL2K box from the SQL7 box or vice verse?

    You will either have to add the the SQL7 box to the SQL2K box as a linked server...

  • RE: Multiple SPs versus SP with branches

    I prefer to have the different functions in separate stored procedures so that it is immediately obvious to the programmer what the procedure is supposed to do.

    usp_GetContacts = SELECT

    usp_SetContacts =...

  • RE: PAGING? Is there something similar to MYSQL "LIMIT"

    LIMIT is a bit more specialised than the nearest SQL equivalent which is the TOP predicate

    SELECT TOP 20 C.Firstname, C.Surname

    FROM Customers AS C

    ORDER BY C.FirstName

    There is also SET ROWCOUNT that...

  • RE: The State Of IT

    I would add that in the UK salary rates are still down on what they were 4 years ago.

    Outsourcing is more of a risk in the UK.  I put this...

  • RE: query works outside stored procedure

    Have you tried stepping through the stored procedure in SQL query analyser?

    Right click on the offending procedure within the Object Browser and you will see "Debug" at the bottom of...

  • RE: Shrink File status

    How do you mean Steve?

    Take it down in 10Mb increments?

  • RE: Design Advice Wanted - Date/Time

    I would tend to keep date and time together.  If you can get away with a SMALLDATETIME field then do so.

    If you do decide to store date and time separate...

  • RE: MYSQL vs SQL 2000

    MySQL is a database that is very good at pumping out information at a very fast rate of knots especially for web-site deployment.

    I have some concerns with its ability to...

  • RE: Relication V Log Shipping

    I have the same situation as you with a staging database for CMS publication and a live database for CMS presentation.

    I set up transactional push replication.

    Firstly, I only want one...

  • RE: copy production DB

    If your production and development DBs are on the same box then simply restore the last production backup over the top of the development DB.

    If you want to delete a...

  • RE: Stored Procedures under .net

    I haven't got my head around the full ADO.NET feature set yet but from what I have seen .NET provides a great deal of freedom to get away with bad...

Viewing 15 posts - 3,061 through 3,075 (of 3,615 total)