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. unseth

    log interpration tools

    try http://www.deepmetrix.com and http://www.webtrends.com
  2. unseth

    SQL Query Order By Help Needed

    hm.. not sure you can do an order by like that. What you might have to do is two select statements. One to pull out the AssignedTo for the logged in user, then another that orders it for everyone else except the assignedTo person. The second one can be ordered whatever way you need.
  3. unseth

    Security issues accessing a Database

    This should solve your problem: http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q295/2/97.asp&NoWebContent=1
  4. unseth

    Reading first file in a folder

    going off stevedi's code, you can use an exit for <% dim fs,fo,x set fs=Server.CreateObject(&quot;Scripting.FileSystemObject&quot;) set fo=fs.GetFolder(&quot;c:\folder\&quot;) loopnum=1 for each x in fo.files 'Print the name of all files in the foldername folder Response.write(x.Name &...
  5. unseth

    Not able to search for the # character in my ASP SQL statement

    you are going to have trouble because the like operator expects the # sign to mean any single digit. you can try try replacing the users input # with [#]. That might work. i.e. tosearch = Request(&quot;size&quot;) Replace(search,&quot;#&quot;,&quot;[#]&quot;) (note: i might not have...
  6. unseth

    Software Catalog

    i'm unclear what you are asking... do you want to know how to create a search on text in asp? or are you looking for cart software to make an online shop? or .. what?
  7. unseth

    Why does &quot;table.fieldname&quot; cause problems in SQL statement?

    what you should do is this: SELECT tblMainMenu.m_title AS maintitle, tblSubMenu.m_title AS subtitle, ....... every db has its own syntax. Sql vs. mysql vs. oracle vs. access... etc. it also depends what you're calling it from (vbscript, c++, query analyzer, etc.) in the above example...
  8. unseth

    Checking for certain empty fields??

    you are trying to test empty/null on a sql result set right? Select * from carlist where model IS NULL if your field name is actually called &quot;type&quot; and the is null doesn't work, then try putting brackets around it because type is usually a reserved word select * from carlist where...
  9. unseth

    update record and get return ID

    I'm using mysql currently, and i want to lock a record, update it, and get the current id. For example, I have a table with a field called nextmsg (int). On my sql statement, i want to update the nextmsg + 1, and get the new value. I was doing the following: set rslck =...
  10. unseth

    weird stored procedure slowness

    interesting.. that seems to work. I would think that would be more expensive, i'll have to look at the execution plans. thanks
  11. unseth

    weird stored procedure slowness

    I've located a slow moving SPO and narrowed it down to the following. I've simplified it here for ease of reading (in actuality, the second contains is not a contains, but an openrowset on something else, but for the problem is still the same) Select a,b,c FROM table1 WHERE (date_retrieved...
  12. unseth

    Easy SQL Query Question

    oops i forgot, after 20:30 and before the ) there should be another '
  13. unseth

    Easy SQL Query Question

    WHERE (r.date_time BETWEEN '9/1/2002 06:30' AND '9/30/2002 20:30) AND r.ct_id = 1
  14. unseth

    MDAC 2.6, 2.7, openrowset patch

    I have 3 machines. machine 1. Sql server 2000. windows 2000 server. updated to MDAC 2.62.7926.1 machine 2. windows 2000 server. updated to MDAC 2.62.7400.1 this seems ok, since they say its the same version, only the version # is different. However, machine 3. windows 2000 pro...
  15. unseth

    OLEDB provider error - maximum length is 128

    I have an ole db provider that i call this way select filename from mpaole...[this is my input] however, if my input exceeds 128 characters, I'm given the error 103 that the maximum length is 128 characters. I know this deal's with quotes, and setting QUOTED_IDENTIFIER OFF, however, there...
  16. unseth

    transactional replication

    In my system (SQL 2000) i had snapshot replication working fine. However, I am learning about transactional replication, and I have a few questions. 1) why is there still a snapshot being made? I thought transact was supposed to just make a list of the changes that were made and then send...
  17. unseth

    adOpenForwardOnly and input parameters

    excellent! thanks durug
  18. unseth

    adOpenForwardOnly and input parameters

    so how can i make it forwardonly and readonly and still use input parameters?
  19. unseth

    adOpenForwardOnly and input parameters

    I think i just need to add these lines: objCommand.CursorType = adOpenForwardOnly objCommand.LockType = adLockReadOnly seems that might work the same way on a command as a recordset..?
  20. unseth

    adOpenForwardOnly and input parameters

    normally i open my recordset like so: set objRS = Server.CreateObject(&quot;ADODB.Recordset&quot;) objRS.LockType = 1 'adLockReadOnly objRS.CursorType = 0 'adOpenForwardOnly but now i want to use this method so I can use input parameters in my SPO for recordcounts. Does this method...

Part and Inventory Search

Back
Top