Forum Replies Created

Viewing 15 posts - 3,046 through 3,060 (of 4,272 total)

  • RE: Enabling FKs in SP - not working

    I think the trace is your best best, you should be able to see the command that is running as opposed to what you think is running..

    CEWII

  • RE: SSIS error

    PSB (11/17/2009)


    <xs:element minOccurs="0" name="SubCategoryId" type="xs:unsignedByte" />

    Well that explains a lot. unsigned byte = tinyint, not sure what the valid value is for integer though..

    CEWII

  • RE: SSIS error

    Ok, for DT_NUMERIC length is greyed out but what are the values for precision and scale?

    Also, you might consider screen printing the advanced editor screen with that field selected and...

  • RE: Enabling FKs in SP - not working

    How do you know step 1 is working, have you re-enabled the check constraints manually?

    Also, I guess I would run a trace at this point to see what commands are...

  • RE: SQL future

    Hold on David, I take exception to some things:

    Too often it seems that database professionals appear to be defending the SQL status quo rather than standing up and acknowledging that...

  • RE: SSIS error

    If you change it to either DT_STR or DT_UI4 you will likely be ok, for the DT_STR you will be able to set the length, for DT_UI4 you won't it...

  • RE: Enabling FKs in SP - not working

    You might add a ";" after the use [database] statement.

    Also is it just not working or is it returning any errors?

    CEWII

  • RE: SSIS package with source file on server

    simin811 (11/17/2009)


    but I'm in trouble for passing parameters to it.

    Because the source text file name is not fixed.

    Ok, valid question.. I will offer a solution that is dependent...

  • RE: circular foreign key constraints

    Is there a 1 in 10,000 chance I'd use it at some point sure.. But not without a substantial amount of fore-thought and then I'd still be inclined not...

  • RE: SSIS package with source file on server

    Henrico Bekker (11/16/2009)


    Also consider hosting the file on a FTP; using ftp connect with ID and Passw to retrieve the file?

    I see ftp as more of a hinderance than a...

  • RE: Using computed Columns to Create another Computed Column

    I figured you couldn't but it was simple enough to test yourself..

    CEWII

  • RE: Search Query

    G,

    I got the parameter sniffing vibe off that article.. I have always had really good performance off these kinds of queries because I have avoided the causes of that....

  • RE: Help required in regards to SQL 2000

    Excellent point, so basically you don't even have that option..

    CEWII

  • RE: SMO generated Triggers and the placement of sp_settriggerorder

    Those GO statements are important, they seperate one section from the other. Beyond that you really shouldn't do this. Although SQL supports it it is a bad practice...

  • RE: Search Query

    You could try this:

    SELECT *

    FROM dbo.SomeTable

    WHERE ( @Field1 IS NULL OR Field1 = @Field1 )

    AND ( @Field2 IS NULL OR Field2 = @Field2...

Viewing 15 posts - 3,046 through 3,060 (of 4,272 total)