Forum Replies Created

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

  • RE: Problem with compilation of SQL Code

    if you are using this code in stored procedure then plz paste complete sp here

    since what problem is there in compliation if field is not exist and u are updating...

  • RE: CLR vs Dynamic SQL?

    Hi

    if your intention is to only return table by dynamic sql which later on you will join with other tables then why you are not writing stored procedure instead of...

  • RE: Trigger ??

    Hi

    No I dont think so

    I think you are trying to insert data from table A to table B

    if any column's data is > 512 character then you need to...

  • RE: A Stroed Procedure in side a StoredProcedure

    Hi Anoop

    You can take the output of calling sp using output parameter. Alternatively you can use udf also.

    Thanx

    Vaseem

  • RE: INSERT if doesn't exist, UPDATE if changed

    Hi

    I was facing the same problem last week where I have to update my database table from a flat file changed everyday having some new records and some updated records.

    Truncating...

  • RE: Cross Apply is not workign on SQL Server compatibility level 2000(80)

    Thanks

    I have a table like

    tblProducts

    Id Voltage

    1 230

    2 200/250

    3 230/180

    4 250

    I want...

  • RE: How to use Package variables

    Hi

    How to add Event handlers in SSIS.

    Can anybody explain?

    Vaseem

  • RE: Where I can set global variables in SSIS package

    Hi

    I have create a package configuration using package type "XML configuration" and exported the all connection ( database/flat file location/ftp location) and its created myfile.dtsConfig properly.

    After this I have saved...

  • RE: Filter rows from source file

    Hi

    Staging table logic works great.

    Now I have some other requirement. I want to do all these task on a specific condition else some other task. Is there any method...

  • RE: Filter rows from source file

    Thanks for prompt response.

    i will check the options which you are suggesting but performance will be the issue since I m working on huge records more than 3 lakhs, so...

  • RE: Filter rows from source file

    Hi

    Thanks

    its working properly. Now I want some other task, I do not want to insert records from flat file to table every time, I want to insert only that record...

  • RE: Problem with complex stored procedure

    Hi

    Definitely there is no need of Group by statement since you need only one coulumn MIN(User2.StartDate) and in where clause you already given User1.UserGuid = User2.UserGuid.

    SELECT

    User1.UserGUID,

    User1.BranchID,

    User1.StartDate,

    (

    SELECT MIN(User2.StartDate) FROM...

  • RE: CASE Error

    Great work tariq

    Its really good logic

  • RE: CASE Error

    yes, in case of @product_name = 'All' its giving error

    but you cannot return list from case statement.

    you can use this one for your requirement

    DECLARE @product_name nvarchar(3)

    SET @product_name = 'All'

    SELECT...

  • RE: CASE Error

    Hi

    Use this one

    DECLARE @product_name nvarchar(3)

    SET @product_name = 'A'

    SELECT * FROM dim_product

    WHERE source_product_name IN

    ...

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