Forum Replies Created

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

  • RE: Try Success

    Garadin,

    Wow, that looks great. Thanks!

    GSquared,

    Haven't had a chance to try that out on 2005 yet, but will the try block stop executing even if it's an error that would...

  • RE: Try Success

    Oh thanks!

    For 2000 I suppose I could just convert all T-SQL into an nvarchar @Sql and do this:

    execute @SqlSuccess = sp_executesql @Sql

    if (@SqlSuccess = 0)

    begin

    --success code

    end

    else

    begin

    --fail code

    end

    Probably the best option?

  • RE: Update ntext subquery

    Thanks, so simple! *wack myself on the head*

  • RE: Having and Max of a column

    Thanks so very much Arun! I'm not used to using sub-tables, very nice to learn from simple examples.

    Seth Phelabaum, thanks also. I just wanted the ColD...

  • RE: Having and Max of a column

    Thanks, that outputs, but it embarrasses me to say that I forgot to mention another column in the mix, Column D has ungroupable variances. It can't be grouped.

    The code...

  • RE: 'Add' to a character.

    Thanks again guys!

    Too bad SQL 2000 doesn't have PERSISTED. I created a column, but it only changed pre-existing ones, and not new ones.

    As for filling in the...

  • RE: 'Add' to a character.

    Thanks! That's fine, my only worry about that, is that when I tested it out the numbers that insert next index after the last used used number. To use...

  • RE: 'Add' to a character.

    Correct me, but this is what I understood you to say. Previously there has been no column named 'ID'. Hopefully this wasn't a source of confusion. I probably...

  • RE: 'Add' to a character.

    Well, there is way too much to change on other tables, dts, access, website etc to make an int for every other table. I'm sort of stuck, needing the...

  • RE: 'Add' to a character.

    Hmmm, can't validate that either. It seems string/text isn't allowed?

  • RE: 'Add' to a character.

    Thanks for your patience!

    I'm trying the single table / calculated column solution. I made an identical test database to test. I created an integer identity column [ID]...

  • RE: 'Add' to a character.

    Thanks again! Great advice. I hope/wish I can have time to do things right.

    Gsquared,

    Access connects to SQL via linked tables (using OBDC). Access might not...

  • RE: 'Add' to a character.

    Thanks again! I'll try one of your suggestions.

    Is there a good link you have in mind that talks about a sequence table? Or is it almost anything google...

  • RE: 'Add' to a character.

    Thanks, at this point no more than one user will add a new record... but as you well know that's not future proof and not safe against non-normal circumstances. ...

  • RE: 'Add' to a character.

    Thanks, yeah, an int would definitely be nicer. I inherited this setup. This text/number is even the record ID. The user who made a new record manually...

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