Forum Replies Created

Viewing 15 posts - 136 through 150 (of 283 total)

  • RE: DTS Text Import Not Seeing Data (sometimes)

    The import data transformation was the second step in the base until I removed the first step. I put tracking emails into the base DTS and the step is executing.

    Of...

  • RE: DTS Text Import Not Seeing Data (sometimes)

    We've had the problem where a package "suddenly" went weird on us in that it would work normally when executing each step one at a time but wouldn't work if...

  • RE: Verifying the GRANT statement

    The system sp was just what I needed. Specifically:

    exec sp_helprotect

    @Name = 'TableName',

    @UserName = 'RoleName',

    @PermissionArea =...

  • RE: Create View Help

    I thought I would test my own claim that no three-character sequence could pass IsNumeric and fail Convert. Sure enough, I found one (there could be more). The string '$+.'...

  • RE: Create View Help

    The following ASCII values will return 1 from IsNumeric:

    9 (tab), 10 (LF), 11 (VT), 12(FF), 13(CR),

    36('$'), -- because IsNumeric also must recognize money

    43('+'),

    44(','), -- for example '123,456'

    45('-'), 46('.')

    and, of...

  • RE: Check Constraint Expressions

    I just thought of another reason for using triggers in validation. We use it here in some of our tables. We have a workflow value and it can be changed...

  • RE: Calculating Work Days

    There is a problem with the function and it is basically a problem with counting days. To illustrate, let's use something that is not a date. Say we have two...

  • RE: Check Constraint Expressions

    You steadfastly refuse to go into enough detail for us to determine if you can do what you want in a constraint or not. The one example you gave, "(((not([Package_Type]...

  • RE: Check Constraint Expressions

    I'm not really sure what you're asking for. If you have a table where several columns must contain the same value, that's easy. Say you have a table where columns...

  • RE: The T-SQL Test

    The answer is, "create a unique index on those columns!" 😛

    Well, so that will tell you if you have duplicates, but not which ones. Picky, picky.

    How about:

    select Convert( varchar, NumCol...

  • RE: Constraints that doesn't allow ID from another table.

    Adding a "found in" column to the primary key of the master table wouldn't work -- key value 100 found in 1 and key value 100 found in 2 are...

  • RE: Foreign keys good or bad practice?

    Prakash Heda (11/29/2007)


    I normally put it while in developement, but then go ahead and remove it once product get stablized

    In >25 years in this business, I've never seen a...

  • RE: Foreign keys good or bad practice?

    tfifield (11/28/2007)


    I use DRI whenever it makes sense to do so.

    Actually, I would put it the other way 'round. Use DRI as a default. If a rational case can be...

  • RE: Alias Name

    You can't directly. But you can set it up indirectly:

    select aaa

    from (

    select column1 as 'aaa' from table name

    )

    where aaa = something;

    Of course, all you're really accomplishing here is creating the...

  • RE: Foreign keys good or bad practice?

    aureolin (11/20/2007)


    Congratulations! You entirely missed the point. 😛

    It is easily possible to create a system that has such stringent data entry requirements that it is nearly impossible to get real-world...

Viewing 15 posts - 136 through 150 (of 283 total)