Forum Replies Created

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

  • RE: Query Help needed

    Is that going to be "or" or "and"? If its and, more trouble :w00t:

    --------------------------------------------------------------------------------------
    Save our world, its all we have! A must watch video Pale Blue Dot[/url]

  • RE: Query Help needed

    Try this stored procedure, bit complicated though. If you pass itemname, it will return order details for that particular item, or else it will return for all orders.

    Create Procedure Usp_OrderDetails...

    --------------------------------------------------------------------------------------
    Save our world, its all we have! A must watch video Pale Blue Dot[/url]

  • RE: Indexed View Sql Server 2005

    We cannot use aggregate functions when using schemabinding.

    --------------------------------------------------------------------------------------
    Save our world, its all we have! A must watch video Pale Blue Dot[/url]

  • RE: DateTime in Case

    Yea, Right my bad :hehe: Thanks

    --------------------------------------------------------------------------------------
    Save our world, its all we have! A must watch video Pale Blue Dot[/url]

  • RE: Load a 20GB File into database

    Once every month.

    Unload the file, do some processing, truncate the table, load file back to the table.

    I'm not sure how i would implement this with bulkcopy. I have to...

    --------------------------------------------------------------------------------------
    Save our world, its all we have! A must watch video Pale Blue Dot[/url]

  • RE: Data Flow filtering puzzle

    If joining columns are not present in both streams, you can choose to ignore the columns. It will be considered as nulls instead.

    --------------------------------------------------------------------------------------
    Save our world, its all we have! A must watch video Pale Blue Dot[/url]

  • RE: regd bulk insert

    Could you try giving full access to that network share for your user id.

    --------------------------------------------------------------------------------------
    Save our world, its all we have! A must watch video Pale Blue Dot[/url]

  • RE: How to pass input and output parameters in Execute SQL Task?

    Attached a sample with ADO.net and OLEDB samples. Hope this helps.

    You can check this link for more detailed information

    http://technet.microsoft.com/en-us/library/ms141003.aspx

    --------------------------------------------------------------------------------------
    Save our world, its all we have! A must watch video Pale Blue Dot[/url]

  • RE: How to pass input and output parameters in Execute SQL Task?

    In parameter name, I think you have to mention the parameters from SP.

    For e.g

    if your SP is something like this

    ODS_VLD_Header (@Parm1 Int,@parm2 Int.. etc)

    You would need to mention @Parm1,@Parm2 under...

    --------------------------------------------------------------------------------------
    Save our world, its all we have! A must watch video Pale Blue Dot[/url]

  • RE: Syntax question for GROUP BY clause with an aggregate

    1) Is this query looking to gain an aggregate of the AVG of BOTH the Categories and Products table column CategoryID?

    Its doing an avg of UnitPrice column

    2) What exactly is...

    --------------------------------------------------------------------------------------
    Save our world, its all we have! A must watch video Pale Blue Dot[/url]

  • RE: Nested Try...Catch

    If visual studio is available, you could always use it to debug the SP. My 2 cents.

    --------------------------------------------------------------------------------------
    Save our world, its all we have! A must watch video Pale Blue Dot[/url]

  • RE: data available? not available??

    Do you have any hex 0'x in the beginning of the data? If theres x00, the data wont get displayed correctly. This can be verified using a simple convert.

    select convert(binary,columnname)...

    --------------------------------------------------------------------------------------
    Save our world, its all we have! A must watch video Pale Blue Dot[/url]

  • RE: String aggregation in SQL2k5

    Aggregate in the sense concatenate rows? Or :unsure:

    --------------------------------------------------------------------------------------
    Save our world, its all we have! A must watch video Pale Blue Dot[/url]

  • RE: New SQL Server Setup - 32 or 64bit windows 2003?

    We had some performance issues in our production database. Microsoft did health checkup and they have been highly recommending us to move to a 64bit setup. My 2 cents.

    --------------------------------------------------------------------------------------
    Save our world, its all we have! A must watch video Pale Blue Dot[/url]

  • RE: Clean international Phone Numbers

    Is it required to store the country codes as well? If not, you could store the right most 10 digits, that will give the phone number, right? By the way,...

    --------------------------------------------------------------------------------------
    Save our world, its all we have! A must watch video Pale Blue Dot[/url]

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