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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tsinvr

    What does the N do in sp_attach_db?

    This is probably a silly question, but I can not find the answer. In the sp_attach_db command the books on line samples show that you put an N infront of variables, like this: EXEC sp_attach_db @dbname = N'FIRE', @filename1 = N'c:\Fire_RMS\FIRE.mdf' What does the N mean? Thanks. Ted
  2. tsinvr

    Return unique values - where item is only used

    I am trying to figure this out, and after banging my head against the wall for a few hours I thought I would ask to see if there is something I am missing. Scenario: Table icfct holds transactions. A sample list of rows would look like this: Row_ID Part_ID Program_ID 872...
  3. tsinvr

    Reading Excel file - text cut-off

    Thanks Dan - it turned out that was not the exact problem I was having but you got me thinking in the right direction. I started to scan through the notes field that I was reading in from Excel and it was pulling in hidden fields - some nulls and other lower ascii characters that I did not see...
  4. tsinvr

    Reading Excel file - text cut-off

    I have a utility that needs to read an Excel data file. I have the system working pretty well except that it will not read long notes. Any note that is longer than 255 characters gets cut-off. I am using VB6 and using an oledb connection to Excel: cnnExcel.Open...
  5. tsinvr

    Reading from excel without knowing the sheet name?

    Thanks Swi - I just gave you another star. I was looking up something completely different but I stumbled on this post and it was something I have been looking for an answer on for a long time. Thanks. Ted
  6. tsinvr

    Readonly recordset is causing record locks - How to fix?

    Thanks hmckillop that was exactly what I needed. I put in the (NOLOCK) on my select statement and the problem has gone away.
  7. tsinvr

    Readonly recordset is causing record locks - How to fix?

    I have a program that is reading one database and based on the results will update a seperate database. My reads are supposed to be readonly but it is being reported to me that this is causing recordlocks on the server that is blocking other processes. here is a snipit of code: With oSLXRS...

Part and Inventory Search

Back
Top