Forum Replies Created

Viewing 15 posts - 2,281 through 2,295 (of 3,656 total)

  • 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
    
  • RE: copy/create tables, sp, functions from a db to db

    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.

  • RE: How to use a single statement ?

    SELECT COUNT(A) AS Total , SUM(CAST (A AS INT)) AS SLA_OK

    FROM TABLE

  • RE: Choices

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

  • RE: Choices

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

  • RE: Opening up Management Studio taking several minutes

    Basically, it is a memory hog. If you have less than 1GB forget it.

    Also, in the Tools/Options make sure that under the General tab you select "Open Empty Environment"...

  • RE: Choices

    The big thing with .NET is the framework of 7,000+ functions.

    There are a lot of things that .NET does with very little effort that required an good knowledge of the...

  • RE: Choices

    I 2nd the "work in small teams" part.

    It also helps gain a bigger picture of the project so you don't go down a blind alley.

    When I develop I...

  • RE: useing IN clause with variable?

    The way I would approach this would be to have a user defined table function that splits out your country string and returns a table.

    Your query would then become

    SELECT *...

  • RE: Today''''s article - Career Paths for Programmers

    The RedGate software site has an article by "Phil Factor" lamenting the fact that you have to leave your techy past behind you to get into the higher echelons of...

  • RE: Integer vs Numeric PK

    numeric fields can hold values to 2*10^+-38 where as integers are 2*10^+-31 so if you need more than 4 billion values then numeric fields offer a solution.

    Storage size for Numerics...

  • RE: The Enterprise Library for .NET Framework 2.0

    As a DBA my main concern is with apps developers who code things up with the assumption that they will have access to the SA password or similarly excessive access...

  • RE: Stress

    If stress makes you crack then you are damaged for life.

    You can x-ray broken bones, examine stitches and wounds, but there is no empirical measure for a broken mind.

    It...

  • RE: The Enterprise Library for .NET Framework 2.0

    My apologies for "Simplicity Stake". Guess who wrote the article late at night on using a cheap keyboard?

  • RE: Kind of a wierd question about Transaction Logs

    Back in the days of SQL 6.5 Enterprise Manager was known as Enterprise Mangler.

    Personally I prefer to use T-SQL Scripts because I can save them and re-use them without...

Viewing 15 posts - 2,281 through 2,295 (of 3,656 total)