Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)

  • RE: Primary key naming convention

    FWIW

    I prefer to use pkTableNameID for (you guessed it) the primary key for that table. Tables being pluralised, so tblCategories would have pkCategoryID.

    Then fkTableNameID clearly describes the fact that it...


    Sharing knowledge saves valuable time!
    Simon Martin

  • RE: Combining 2 sprocs into one, is it good code reuse?

    Hi Jeff,

    Thanks for the reply. I'm going to implement this approach in a new project I've been assigned to. Its an internal thing and so I don't have to worry...


    Sharing knowledge saves valuable time!
    Simon Martin

  • RE: Scheduling a restore from maintenance plan backup

    Hi Steven,

    Thanks for the reply.

    I've created a backup statement, outside of the MP, but the problem I have with that solution is that it doesn't delete the old backup...


    Sharing knowledge saves valuable time!
    Simon Martin

  • RE: Linking SQL Server 2k with Oracle

    Thanks for the ideas.

    Still no joy even with the Oracle tools installed on my PC (also have SQL server 2k installed). I don't want to install more than is...


    Sharing knowledge saves valuable time!
    Simon Martin

  • RE: Changing default date for database

    Can you change the default language to British English, in Server Properties?


    Sharing knowledge saves valuable time!
    Simon Martin

  • RE: PUBS database

    Many example scripts use PUBS or NORTHWIND and for that reason I would keep a copy of them on a server somewhere. Remi is right there is no need for...


    Sharing knowledge saves valuable time!
    Simon Martin

  • RE: Basic Index advice needed please?

    Remi, just a quick question about your 3rd point... I've always thought it a good idea to prefix things like tables (tblMyTable) to make it clear, maybe 3 years down...


    Sharing knowledge saves valuable time!
    Simon Martin

  • RE: Postcode splitting at whitespace

    Chris

    Many thanks - that's sorted it out. And like all great solutions blindingly simple when you stop and think about it!


    Sharing knowledge saves valuable time!
    Simon Martin

  • RE: Postcode splitting at whitespace

    Hi,

    Have tried LIKE

    However its throwing back an error "converting the varchar value 'NG19 8DK' to a column of data type int"

    The column is varchar so why is it trying...


    Sharing knowledge saves valuable time!
    Simon Martin

  • RE: SQL Server 2000 SP4

    We're a bit behind the times where I'm working - we have 2 SQL boxes both running SP3. The IT manager doesn't see the point in installing SP3a or SP4...


    Sharing knowledge saves valuable time!
    Simon Martin

  • RE: Change a users password - WITHOUT knowing it

    Ahh - that's excellent!

    Many thanks for your help


    Sharing knowledge saves valuable time!
    Simon Martin

  • RE: Retrieving data from a postcode string

    Thanks James

    That's doing the job!


    Sharing knowledge saves valuable time!
    Simon Martin

  • RE: Retrieving data from a postcode string

    Nice

    I'll give that a whirl


    Sharing knowledge saves valuable time!
    Simon Martin

  • RE: Retrieving data from a postcode string

    Yeah - I had worked out a LEFT TRIM after 3 characters version - but then that was matching 'SE1' and 'SE18'


    Sharing knowledge saves valuable time!
    Simon Martin

  • RE: Retrieving data from a postcode string

    Superb. I'll hunt that one down


    Sharing knowledge saves valuable time!
    Simon Martin

Viewing 15 posts - 1 through 15 (of 17 total)