Forum Replies Created

Viewing 15 posts - 16 through 30 (of 181 total)

  • RE: Algorithams using T-SQL

    Thank you for the input Aaron. Can you please give me the sample code for creating the function.

     

    Thanks,

    MK

     

  • RE: Update Data from Excel to SQL Server

    Thankyou for the Info. Ahrens.

  • RE: Update Data from Excel to SQL Server

    Thanks for your reply, I know that we can import the data using DTS package and schedule it as a job to see if there are any updates and import the...

  • RE: Select

    GReat.Thank you very much.

  • RE: Port

    Thankyou for the reply stacenic. I am sorry for putting my question wrong. I want to change the port on the Clustered Servers. I was trying to do what you...

  • RE: Functions

    It works, thank you for your help Jonathan.

  • RE: Functions

    Thankyou Allen for your Solution.

    Actually I want to pass only one parameter to the function which is the current date or what ever date the user gives and the function...

  • RE: Lowest amount of the combination

    I appriciate your response and thanks for your suggestions but I need to get this done in one days time that's why I have posted it here to get quick...

  • RE: Lowest amount of the combination

    Thanks for the response.

    I am forwarding you a link, right now it is in a web app.I think it will give you a clear understanding. I want to do the...

  • RE: Trigger to update a field in another table

    Because you did not have the insert in the create statement.

    Try this

    CREATE TRIGGER trg_UpdateFlag_U ON dbo.TableB

    FOR INSERT, UPDATE

    AS

    update TableA

    set flag = 0

    from TableA

    inner join TableB

    on TableA.Unique_ID = TableB.Unique_ID

    where TableBPrimaryKey_id...

  • RE: data format

    I think this is what you are looking for....

    DECLARE @ID INT, @Len INT, @Begin INT, @End INT, @Last INT, @val INT

    DECLARE CUR CURSOR FOR SELECT Number, LEN(Name) FROM TempTable

    OPEN CUR

    FETCH...

  • RE: Sql Agent auto-start

    I think you have to do it manually.

  • RE: Force similar strings to be the same

    Hi Peterzeke,

    Hope this is what you are looking for.

    CREATE TABLE DBO.TEST_NAMES(

    NAME_ID INT IDENTITY(1,1),

    NAME_DESC VARCHAR(50),

    NAME_DESC_REVISED VARCHAR(50))

    INSERT DBO.TEST_NAMES(NAME_DESC)

    SELECT 'BROWN, JOE'

    INSERT DBO.TEST_NAMES(NAME_DESC)

    SELECT 'BROWN, JOE F'

    INSERT...

  • RE: How to run a DTS package from a NT cmd line

    Hi Wingman,

    Try this

    dtsrun /Sserver_name /Uuser_nName /Ppassword /Npackage_name /Mpackage_password

    Thanks

  • RE: mdf file

    I think I can use sp_attach_single_db_file

    only when I detach the file using sp_detach_db.

Viewing 15 posts - 16 through 30 (of 181 total)