Forum Replies Created

Viewing 15 posts - 13,021 through 13,035 (of 15,381 total)

  • RE: Procedure or Function expects parameter, which was not supplied.

    Steve Doinidis (2/8/2012)


    Provide the parameter in the SP?

    I have the parameter in my report and an integer that allows Nulls.

    Well you changed your parameter to be optional.

    @Address Varchar(163) =...

  • RE: Procedure or Function expects parameter, which was not supplied.

    If you don't provide the parameter and you have the default of null your query will only return those where FullAddress is null.

  • RE: Transaction

    SKYBVI (2/8/2012)


    GilaMonster (2/8/2012)


    Yes.

    Thanks.

    Then these begin and rollback transactions are used for whcih TSQL statments??

    Regards,

    Skybvi

    If you have a batch of updates for example. Maybe you need to update 3 different tables,...

  • RE: Are the posted questions getting worse?

    LutzM (2/7/2012)


    The reason for a temperature beyond a "frozen mug" is simple: taste. I don't want to go deeper into details (not starting a "taste war" here) but based on...

  • RE: Procedure or Function expects parameter, which was not supplied.

    exec SDoinidis_Duluth_LicenseeActivity @Address = 'Some Value'

  • RE: Remove HTML from varchar field?

    That will work if ALL your HTML is properly formatted so it can be parsed into xml. This is likely not going to be the case and properly removing all...

  • RE: Transaction

    sunny.tjk (2/8/2012)


    Could someone please tell me if the following query is correct:

    Begin Transaction

    Delete from tableabcd where starttime < '1/1/2011'

    Rollback Transaction

    Well that depends on what you define as "correct". There do...

  • RE: Procedure or Function expects parameter, which was not supplied.

    It failed because you didn't pass the parameter when called your stored proc.

  • RE: Not selecting rows

    Something like this?

    SELECT Customer_Number FROM Customer_Offer

    WHERE Product_Offer = 'Offer2'

    and Custom_Number in

    (

    SELECT Customer_Number FROM Customer_Offer

    WHERE Product_Offer = 'Offer1'

    )

  • RE: Separate values from one column to two

    lonex (2/8/2012)


    Thanks SSC Veteran!

    You were right that without the data it is hard to validate code. I will be trying to create sample data and code as per best practice...

  • RE: Database design question

    river1 (2/8/2012)


    "Stock is in a location, that location has a type "

    Sorry, didn't understood you point...

    This is a database about stocks (Car parts)

    This parts (wheel, tires, etc...) can be located...

  • RE: Database design question

    river1 (2/8/2012)


    In the location_type you don't have just vheicules...

    You have three different records:

    1) Cars

    2) Trucks

    3) WareHouse

    This is where the stocks can be

    I followed that. Maybe that should be Vehicle and...

  • RE: Database design question

    I don't think you want a table for this. This really should be a view instead of a permanent table. Otherwise you have to insert/update/delete from this table every time...

  • RE: Need to tune SQL

    GilaMonster (2/8/2012)


    Sean Lange (2/8/2012)


    Cadavre (2/8/2012)


    At best, your post is like telling a car mechanic the make and model of your car, telling him it's broken, but without telling him in...

  • RE: Need to tune SQL

    Cadavre (2/8/2012)


    At best, your post is like telling a car mechanic the make and model of your car, telling him it's broken, but without telling him in what way it...

Viewing 15 posts - 13,021 through 13,035 (of 15,381 total)