About 675 results
Open links in new tab
  1. help on cursor to loop through entire table

    Feb 26, 2013 · HI Experts, I have a cursor below which check if person id exists or not and print accordingly in few tables i have more 20 tables which i did not mention, so my question or …

  2. While Loops in SQL Server. - social.msdn.microsoft.com

    Oct 30, 2011 · Sometimes you loop over a batch number to process one batch at a time. In most cases, a loop is best implemented with a cursor, but since you should not study iterations at …

  3. Cursor vs Batch - social.msdn.microsoft.com

    Mar 17, 2016 · However when running the delete batch statement versus the cursor on small data sets (200) on the production servers the cursor beats the batch delete by a 2 to 3 factor. Any …

  4. How to use local cursor in a select statement querying SQL Server …

    Jun 28, 2010 · You can not use a local cursor with the SQL Server. The easiest way could be (assuming the cursor has only a dozen statements) to create a string of IDs and expand it, e.g.

  5. IF UPDATE (columnName) in update trigger

    Feb 12, 2015 · However, if there are multiple rows in the DELETED table, I'll need to use a cursor to loop through the rows. additionally, if I'm looping through the rows, the IF UPDATE …

  6. How to use local variable in a group by clause

    Apr 7, 2013 · I have a procedure in which i am using a cursor and each time a cursor fetches next i am providing many local variables to be used in the cursor.

  7. SQL to Access conversion - social.msdn.microsoft.com

    Oct 5, 2012 · Chances are all in the SQL Server world, the loop could have been eliminated via a well written join plus ROW_NUMBER () Over (Order by Something)", but since it was written …

  8. Restore all databases in SSIS package.

    Aug 22, 2016 · I need help from someone to create a package which restores multiple db's from remote .bak files to local instance. This later need to be scheduled via SQL agent by passing …

  9. VSTO Word Cursor position - select - parent width

    Aug 20, 2013 · Hi - I am trying to get the width of the nearest parent object to my cursor position in word I want to place an Image/Shape INLINE at the cursor position and scale it to the parent …

  10. How to show nested relationships uisng sql

    Nov 12, 2008 · Show a nested list of names including LEVEL , NAMEID and NAME , where LEVEL indicates the nest level (or depth) from the top, as indicated in the expected output …

Refresh