Forum Replies Created

Viewing 15 posts - 646 through 660 (of 1,641 total)

  • RE: convert a PLSQL to T_SQL for a function

    Thanks, much, it is exactly like what I wrote too.

    It looks like we don't need the cursor. Not sure why PLSQL uses that.

  • RE: concerns using linked server -security.

    mister.magoo (4/26/2013)


    Not an answer about linked servers, more about triggers...

    Please don't use a trigger for this, make all your transactions through stored procedures and have that update the Oracle server,...

  • RE: index scan

    Thanks, it seems I can only leave it as it is as a index scan for the view, and optimize other parts.

  • RE: index scan

    Thanks, tried to add filter with where studentID=.. and schoolyear=.. this time it uses the index seek.

    The reason I asked this is because we have a view that is in...

  • RE: DBcreator

    Thank you, that is good to know too.

    Right now this server is setup to use windows authentication, that works for us.

  • RE: index scan

    here are the table definition in attachment, and select. with a filter

    No matter what I use the execution plan uses index scan.

  • RE: service pack

    Thanks, I would like to figure out this before I do the repair.

  • RE: DBcreator

    Thanks, that is a good alternative. I ended up adding that account temporily into database as dbowner when backing it up, after done, I removed it from original database.

    So when...

  • RE: DBcreator

    Can this account itself add himself as a dbowner right after the database is restored?

  • RE: view more efficient than before or not?

    Jeff Moden (4/16/2013)


    sqlfriends (4/16/2013)


    Now we change the view to hopefully speed it up.

    ...but we have a batch process at night that uses it [font="Arial Black"][highlight=""]for each [/highlight][/font]individual. so overall it...

  • RE: view more efficient than before or not?

    rals (4/17/2013)


    Batch process means SSIS package ?

    If you are using SSIS, recently I came across a situation that extracting data using a view from SSIS slower but running the same...

  • RE: view more efficient than before or not?

    GilaMonster (4/16/2013)


    sqlfriends (4/16/2013)


    I have a view, if we runs it individually in SSMS, it runs ok, but we have a batch process at night that uses it for each individual....

  • RE: restoring status

    Thanks, that is very strange then,

    In maintenance plan, we just use regular backup. we don't do with norecovery.

    And I did check with one developer, he didn't do anything either.

    Wierd...

  • RE: restoring status

    By your hints, I do have some clue now.

    we do have a full, diff, and a transaction log backup scheduled. Full happens only at weekend, transaction and diff will happen...

  • RE: schema bind view

    It is not using index for the view.

    It is developed by other developers that has gone.

    It does have underlying tables for the view, so I guess one purpose for using...

Viewing 15 posts - 646 through 660 (of 1,641 total)