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 Mike Lewis 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: *

  • Users: IDDQD
  • Order by date
  1. IDDQD

    I need to insert from one table to

    Hi try this INSERT INTO Destination(f1, f2, f3, f4) SELECT s.f1, s.f2, s.f3, s.f4 FROM Source s LEFT JOIN Destination d ON s.f1 = d.f1 and s.f2 = d.f2 WHERE d.f1 IS NULL HTH
  2. IDDQD

    Run SQL script conditional on logins & disable logins while script run

    Hi for the first question try this DECLARE @usercount INT SELECT @usercount = COUNT(*) FROM Activity IF @usercount > 0 BEGIN -- your script ELSE --- notify user END
  3. IDDQD

    Sproc doesn't appear to do what I thought it should

    Hi it should be @variable = field not field = variable HTH
  4. IDDQD

    MMControl MCI How to move the AVI playing screen?

    Hi An easy way to do this is to use the hWndDisplay property of the control. set this to a hWnd of a form in you app bofore playing the movie. MMControl1.hWndDisplay = form2.hWnd Now the movie will be displayed in form2. now you should be able to resize the form HTH Chamindu
  5. IDDQD

    ADDING RECORD TO SQL SERVER TABLE DOESN'T WORK

    Hi Can you post the code where you insert a record.
  6. IDDQD

    How i can use the function max from sql in asp, look the question

    Hi If i get what you are trying to say ..... if you dont give an alias to the field then you can access it using oRS(0).Value or you can alias the field SELECT MAX(nroconsulta) AS nroconsulta
  7. IDDQD

    Automatically Updating Web Page of Links/News

    But you dont need a database here. If you use a database every time you create a HTML file you have to add a record to the DB. But if you use a FSO approach you can just create the HTML file drop it in the specified folder and thats all. HTH
  8. IDDQD

    Automatically Updating Web Page of Links/News

    Hi You can use the FileSystemObject to enumarate all the files in a folder and also you can use it to open and read your HTML files.After that creating the link will be very easy HTH
  9. IDDQD

    Use sql view for count and sum

    Hi you only have to create a single recordset using a group by query. Here is an example you can run on a SQL server it uses the pubs sample database select j.job_desc , count(e.emp_id) AS NoOfEmployees from employee e inner join jobs j on e.job_id=j.job_id group by j.job_desc this query will...

Part and Inventory Search

Back
Top