Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by glennfishwick

  1. glennfishwick

    Column IDs

    A query such as: select * from sysobjects o, syscolumns c where o.name = 'patients' and o.id = c.id Will return all the columns in a particular table. The colid column gives you a sequential ordering through the columns.
  2. glennfishwick

    Anonymising data

    Does anyone have or know of any good (and fast) routines to anonymise data in a table. I need to jumble up customer details in our database for testing purposes. I have a script that does this but it uses cursor's and runs like a dog! All that I need to do is swap names around or update names...
  3. glennfishwick

    Restore a Database With Transaction Log

    Unfortunately the file that I have is in backup format so that will not work.
  4. glennfishwick

    Restore a Database With Transaction Log

    Does anyone know if it is possible to restore a database without its Transaction Log file. Like when you can do an attach_db without specifying a transaction log and a empty one is created. Our problem is that an unmanaged site has sent us a database with a massive transaction log that is too...
  5. glennfishwick

    Using Temp Tables to Improve Performance

    Is this a good idea: In an order processing type system we will currently create and order & order_lines as follows: INSERT INTO orders... INSERT INTO order_lines... INSERT INTO order_lines... INSERT INTO order_lines... <repeated for number of order lines> < then various other repeated...
  6. glennfishwick

    Query Execution Time

    I have a query that has been extracted from an application and I have tuned it a little. However I now get drastically differing performance times depending on where I run it (I have used DBCC DropCleanBuffers & DBCC FreeProcCache to clear memory and plans). i.e. Run from my PC it takes approx...
  7. glennfishwick

    Using Stored Procedures to Update data

    I am in the process of investigating the approach of using stored procedures to hold all our data access and business logic. I can see how you would use stored procedures to control database inserts. I can't see what the best way to control database Updates via stored procedures is. i.e. If...

Part and Inventory Search

Back
Top