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 biv343 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: gkrenton
  • Content: Threads
  • Order by date
  1. gkrenton

    Copying 1 table to training DB

    I have a table that I resides in my live DB but not in my test DB. I can't figure out what the sql syntax would be to copy the table from the one instance to the other. MS Sql looks like it would be something like this insert into ol_rentontrain.atb.ren_custom_tran select *...
  2. gkrenton

    Cumulative Addition in Query?

    I'm trying to create rolling weekly onhand numbers. I've gotten week 1 figured out but am now trying to figure out how to calculate the inventory position for week 2 by adding data to week 1. I have 2 tables being pulled used: PYactuals which has the weekly data BOM which has the beg year...
  3. gkrenton

    Remove ' from Character Field

    I'm creating some data to export to a flat text file interface. I've been asked to do either remove the single quotes that reside in the description field OR add double qoutes around the output. select 1 as Division, substring (ca_id from 1 for 1) as dept, (ca_desc) from category where...
  4. gkrenton

    SED last delimiter from unload file

    I've created a script that unloads a file as a comma-delimited txt file (orderfile.txt). The gotcha is that after the last record there is a comma that I need to remove. IE The comma at the end of the line as shown below. 9,002,7,095,92.0,2318.08,1025.45, 11,899,6,075,0.0,0.0,0.0...
  5. gkrenton

    Case statement in Where Clause

    I have a query that works except I need to do a date evalution that takes any document that falls before the current period & puts it into the current period. I'm stumped as to how add this case statement case when P.po_promise < today then today else P.po_promise end to the where clause...
  6. gkrenton

    Sun-Sat Date calculation

    I'm sure I'm missing the obvious reading through faq 701-4230 & the numerous other date posts here but for the life of me my brain isn't getting it. I have a table where all 52 weeks of the year are accounted for Sun-Sat for expample. In the table there is a record for week 4 which is defined...
  7. gkrenton

    Remove Multiple characters from field

    I've seen thread181-183305 & read it trying to understand how I can remove both a & and a ; from a field. I'm trying to remove the html code in a web link that I'm creating in my query. What I have thus far is url: "http://www.mysite.com/" & Replace([short_description],"&","") & "-p" &...
  8. gkrenton

    IE7 not showing Images

    I made this post in Forum608 & some folks there thought maybe this forum could help me more. Userdata persistance does not seem to be the issue. I see on the MS IE FAQ site that they (MS) tells folks to download a patch to allow IE7 to act as IE6 for sites they're having problems viewing BUT...
  9. gkrenton

    IE7 Not showing Images on Site

    Our website runs fine in all browsers BUT IE7. IE7 displays all the text yet does not show any of our site images. We're scratching our heads as to what would be causing this occurance. I'm hoping to find a work around or solution such that our customers are downloading IE7 at a pretty quick...
  10. gkrenton

    Convert TEXT to NVARCHAR?

    So it seems that informix won't let me substr or substring a TEXT field....Anyone know how I can convert a TEXT field into a Nvarchar or something else that I can then put into a distinct sql query? - gina
  11. gkrenton

    Distinct Query but need Data in TEXT field

    I have a query that starts with a distinct call but I need to pull a text field into the results. However I get an error indicating that I can't use a 'blob' statement with distinct. Here's the primary code: select distinct order_shipments.order_id, order_shipments.shipment_id...
  12. gkrenton

    Wildcard on a field in IIF statement

    I would think there's a way to do this but for the life of me can't stumble upon the correct syntax. Am trying to select records where the beginning part of the record is held in another field - UPC code data. I'm only concerned with pulling the record if the first 6 digits of the code resides...
  13. gkrenton

    Klips_Error

    Forgive me on the lack of detailed information but I can get more if needed. We are trying to setup a backup dialing process for when our internet connection (T1)/VPN is not responding. We've gotten it to work in 2 locations yet in the 3rd location with same code we get a the following error...
  14. gkrenton

    Initcap & Apostrophes

    I have a statement that reads select inv_id, initcap(short_description), from ecat_items Which give the short description the first letter capitalization which I want the problem I'm running into is descriptions with apostrophes within them. children's boots gets displayed as Children'S Boots...
  15. gkrenton

    Converting Date Field Type

    I'm creating a view that uses a field that is in a DATE layout, yet the date field I'm interfacing this data to is in a DATETIME layout. I can't find anything that explains how to convert a field from a DATE layout to a DATETIME layout. Any help is appreciated. Thanks Gina
  16. gkrenton

    Querying A View Problem

    I've created a view that is behaving oddly when I try to query it for other uses in dbaccess yet it behaves correctly if I'm using Access, Crystal or some other ODBC connection. The view name is ren_products & if I do a select * from ren_products where sku=55154 Dbaccess returns all records...
  17. gkrenton

    Informix Client SDK Licensing

    Sorry for the 'neophyte' question but I'm trying to figure out how/where one gets a Informix Client Software Development Kit (Client SDK) with ODBC driver for Windows 32 bit We've been using the downloadable test version for some development & it works find & dandy But knowing how informix...
  18. gkrenton

    Mail Merge to Outlook with Hyperlink

    I've created a email mail merge document (Office XP) to send out as a follow up to some of our customers. However the hypertext link that works fine if I cut & paste the document into unique emails vs mail merging no longer appears as a link. It appears as basic text. Anyone figure out how to...
  19. gkrenton

    Mail Merge to Outlook with Hyperlink

    I've created a email mail merge document to send out as a follow up to some of our customers. However the hypertext link that works fine if I cut & paste the document into unique emails vs mail merging no longer appears as a link. It appears as basic text. Anyone figure out how to work around...
  20. gkrenton

    Date Parameter in Excel Query

    I'm pulling a data list out from an ODBC connection that I want to limit to records created in the last 30 days. In Access the formula would be something like >date()-30. However in MS Query that errors out. Tried >today()-30 in the criteria field & that too fails. The field date format is...

Part and Inventory Search

Back
Top