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: dndaughtery
  • Order by date
  1. dndaughtery

    posting integer form variables

    I have inherited a JSP application which needs a lot of cleaning up. Before I chuck the existing code and start from scratch I'd like to know if there is something special about passing integer form variables. I have 2 html select drop boxes. One is populated in while loop with string value...
  2. dndaughtery

    Testing for Not NULL

    The way everything is set up there will never be an instance where the field will be null. If it is there is no way to check it, it's a foriegn key.
  3. dndaughtery

    Testing for Not NULL

    Thanks a bunch!
  4. dndaughtery

    Testing for Not NULL

    I need to write a query to insert from one table to another but I want to avoid inserting empty rows. This is what I'm trying: Insert into TableA Select * from TableB where Fieldname Not Null; But this is incorrect. How can I check for null value?
  5. dndaughtery

    SQL Help

    I need to update a field in a table called "RejectCollections" with a value from a temp table with the name "TigerTemp" based on matching fields called "rejectid". Below is what I have, will this work correctly? Update RejectCollections Set RejectCollections.COLL_TOTAL = TigerTemp.COLL_Total...
  6. dndaughtery

    How to duplicate a table

    Thanks for all the info guys
  7. dndaughtery

    Automate .XLS file creation with DTS

    I have a dts which creates an .xls file but i have to click "create table" everytime just before running it. Is it possible to set this up so that it can be run inside a sproc thats called in a job at a certain time each day?
  8. dndaughtery

    How to duplicate a table

    How can I duplicate a table using SQL in the Query analyzer?
  9. dndaughtery

    problem multiple inner join query

    I have the following query that I'm using but I get nothing back. I've checked the "rejects" table and there are records there. The query is: SELECT ' ' AS [Auth Code], CardPreferredQry.BankName, CardPreferredQry.ABA AS ROUTING, Right(RTRIM(LTRIM(CardPreferredQry.ACCT)), 6) AS [ACCT#]...
  10. dndaughtery

    How to change first 6 digits to an X

    Darn! Why didn't I think of that? Thx.
  11. dndaughtery

    How to change first 6 digits to an X

    I need to mask account numbers. I have been asked to mask the first 6 digits to "X". Example: Acct number before mask: 123456789 After mask: XXXXXX789 How can this be done?
  12. dndaughtery

    How to get the last 6 of a field?

    I have a field that I need to get the last 6 digits of. How can I do this?
  13. dndaughtery

    How 2 set DTS to overwrite an existing xls file

    I have a dts package that creates an excel file but it appends to the existing file instead of overwriting it. How can I get it to overwrite instead of append.
  14. dndaughtery

    "Not In"

    Thanks a bunch
  15. dndaughtery

    "Not In"

    I need to write a query which returns all records that don't have a 602 or 610 in a field called subserviceID. This is what I currently have: SELECT * From rejects where SubServiceID Not In (602, 610) But it returns no rows. I have checked the table and the majority of the records have a...
  16. dndaughtery

    Running DTS to create Excel file in a job

    When I run a dts package to create an excel spreadsheet I always have to go into the dts designer and create the table. How can I setup a dts to run in a job that runs on a regular daily schedule. (Like at 5pm every day)Without me having to worry with it?
  17. dndaughtery

    executing dts from sproc

    I looked into some other DTS packages that are run often and noticed the destination file address is on D://... How can I find out which Directories SQL Server can see?
  18. dndaughtery

    executing dts from sproc

    I get the following error when I try to run the sproc in Query analyzer: DTSRun: Loading... DTSRun: Executing... DTSRun OnStart: Create Table CertegyJob Step DTSRun OnError: Create Table CertegyJob Step, Error = -2147467259 (80004005) Error string: 'H:\DEVEL\CardsInc\Certegy...
  19. dndaughtery

    executing dts from sproc

    How can I test the execution of a DTS package in a stored procedure? I'm using the following SQL cmd in the Sproc: EXEC master..xp_cmdshell 'DTSRUN /N TestDTS /E /S Localhost'
  20. dndaughtery

    Problem aligning to the left

    I'm getting a NULL when the size pf the data is greater tha 20 when I use : SELECT right(ISNULL(RWAD1,'') + replicate(' ',20 -isnull(len(RWAD1),0)), 30) FROM CertegyImportFile_T_EC where recordtype = 'detail record'

Part and Inventory Search

Back
Top