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

  • Users: dpwsmw
  • Order by date
  1. dpwsmw

    How to find and then delete duplicates

    Ran that script, the problem with that is it returns all Rows in the Table, the table has duplicated itself once, so before I had 273 rows and now I have 546 rows, and every vendor is listed twice. So, I have to find all the Duplicates and delete them. I ran your script and it returns 546 rows...
  2. dpwsmw

    How to find and then delete duplicates

    I can do it on only VendorNumber sELECT * FROM dbo.AP1_001VendorMaster WHERE EXISTS (SELECT NULL FROM B.VendorNumber = dbo.AP1_001VendorMaster.VendorNumber GROUP BY B.VendorNumber HAVING dbo.AP1_001VendorMaster.VendorNumber < Max(B.VendorNumber) ) it still doesnt work, What am I doing wrong??
  3. dpwsmw

    How to find and then delete duplicates

    Here is what I am trying to accomplish... But I get an error SELECT * FROM dbo.AP1_001VendorMaster WHERE EXISTS (SELECT NULL FROM B.[VendorNumber] = dbo.AP1_001VendorMaster.VendorNumber AND B.[VendorName] = dbo.AP1_001VendorMaster.VendorName GROUP BY B.VendorNumber, B.VendorName HAVING...
  4. dpwsmw

    How to find and then delete duplicates

    I have a table, that has duplicates in them, so Basically I would like to first find the duplicates with a script, and then delete all the duplicates
  5. dpwsmw

    Zipcode to County help

    I am new to Java, so I was wondering, If I have a form that someone inputs the Zipcode in one field that it can autofill the other with the county, this is for a small number of counties and like 20 ZipCodes. So is it like an if then statement. I would appreciate any help with this. thanks
  6. dpwsmw

    No access to OWA on Win2003 SBS

    First make sure that your WAN address is the address of your netgear and exchaneg server mx records and A records. The Netgear does not allow you to use multiple addresses it can only forward on its address to a local address. Then go into the router and under security go into rules, click on...
  7. dpwsmw

    Disaster Recovery Scenario

    OK, here is the Situatuation, I have a Small Business Server, and I am in Florida, When a Hurricane is approaching we take the server offsite and relocate either in a secure bunker or Hotel. Neither the Hotels or Secure bunker will assign me a static IP. Is there a way to use a Dynamic IP such...
  8. dpwsmw

    Create your own Invoice CRM 3.0

    I need to create my own company invoice from within CRM 3.0 can anyone point me in the right direction on this? I want to use my format and company logo. Please Help
  9. dpwsmw

    Server Crash created new Domain, and all users have a 2@domain.com

    So our server crashed, I recreated the server and Domain, Different name, rejoined the master Domain, and now all my SMTP email have a 2@ourdomain.com. Its probably an easy fix, but I am not sure whee to fix it.. Please help.
  10. dpwsmw

    Query Multiple Server

    I have 2 seperate Servers, and would like to know the steps to connect both of them and run a insert statement from one server.table.row to server1.table.row Do you use a Join first? I need a little feed back thanks
  11. dpwsmw

    SQL Statement with an if statement??

    I dont understand this part case when TST.dbo.ACMARVIEW1.flatrate <> 0 then '1' when TST.dbo.ACMARVIEW1.rate <> 0 then '2' when TST.dbo.ACMARVIEW1.maximusrate <> 0 then '3' when TST.dbo.ACMARVIEW1.delinquencycharge <> 0 then '4' else null end, why am I changing the...
  12. dpwsmw

    SQL Statement with an if statement??

    I tried this case statement and got this error: Server: Msg 8133, Level 16, State 1, Line 1 None of the result expressions in a CASE specification can be NULL. Basically what I want it to do is if the if TST.dbo.ACMARVIEW1.flatrate <> 0 then goto the next insert and then the next if statement...
  13. dpwsmw

    SQL Statement with an if statement??

    I have this insert, first of all it doesnt work, maybe I need a Join statement, But is there an easier way to write this, cause it will not work, any help would be appreciated. Thanks in advance Insert into [dbo].[tblArTransHeader] ( TransId, TransType, BatchId, CustId, ShipToName...
  14. dpwsmw

    Select Statement problem with Datetime

    No, that didnt work, It still truncated it to a 7 instead of a 07, Maybe I could do a case, but not sure how to write it in this.. SELECT dbo.arcv.*, dbo.tblArCust.CustName AS Name, dbo.tblArCust.Addr1 AS addr1, dbo.tblArCust.Addr2 AS addr2, dbo.tblArCust.City AS city...
  15. dpwsmw

    Select Statement problem with Datetime

    here is the select statement the problem is I need a 2 digit code for Month, so if the number is 5 I need it to be 05 and if the number is 9 I need it to be 09 and so on, I cant seem to figure this out. its the 15th line of code and part of the 17th and 18th Can someone give me a hand? select...
  16. dpwsmw

    Create a View, how to change the size of a column

    How do you change the size parameter, cause I have a 18 character field and it truncates it to 9. any help?
  17. dpwsmw

    Activity Duration

    Does anyone have an Idea of how to change the picklist in the Duration field in Microsft CRM Activities?? I cant seem to find it in Deployment Manager
  18. dpwsmw

    Admin.exe Doesnt Launch

    I double Click Exchange Admin 5.5 and it doesnt launch, I look in tasks and it is there, but it doesnt ever come up, any suggestions?? However it does work when I reboot the server once.
  19. dpwsmw

    An update that deletes rows?Please need expert help!!

    here is the situation, I have a front end that calls this SP, any data that I change it brings over ok, But if I dont change it, it deletes the info from the row. So for instance, if I change the CustomerName, it changes the name and updates the table, But then it deletes all the other rows...
  20. dpwsmw

    How do you add 2 seperate Databses

    Can you add 2 seperate Databases from SQL to one ADP? Can it be done, and can someone send me a HowTo

Part and Inventory Search

Back
Top