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

    Jet SQL RTRIM Doesn't work

    I need to remove padded spaces from several fields, and the Trim(Name) and RTrim(Name) does not remove the spaces. Any suggestions?
  2. dobe1

    How do I Seed an AutoIncrement Number

    I have a table with 16,000 pre-existing records. I wish to simply go into the design view, add a field auto increment, and seed the starting point at 500,000. How can I do this? Thanks in advance, Dobe
  3. dobe1

    Price Check

    Moderators, I appologize in advance if this is not in the correct forum. I need to know what it would cost to purchase SQL Server 2005 for six seats. From whom do most IT pros buy this type of software? Thanks, Dobe
  4. dobe1

    Recursive With

    Hi, I'm trying to use the following code, which a sample I found is "SQL Cookbook" by Anthony Molinaro. with x (cname,ccust#) as ( select cast(cname as varchar(100)), ccust# from cust_table where cmstc# = 0 union all select cast(x.cname + ' - ' + e.cname as varchar(100)), e.ccust#...
  5. dobe1

    Help on Update with a Join

    Need some expert help please. I am attempting to update a table in MS Access with values from another table. I have attempted the following: UPDATE x AS a SET a.c_days = (select b.currentdays from Days_Current b where...
  6. dobe1

    Delete vs truncate table

    I have a table, which has over 5 million records in it. I have been attempting to delete all but about 1/2 million records. The deletion, indexed on the datetime field takes in excess of 20 hours. I must stop it at this point. I have decided to truncate the table. My question is this. Upon...
  7. dobe1

    consolidating records to one field

    I am working with a table where customers have multiple days of service. For example, a customer may be serviced 1, 3, and 5 (Monday, Wednesday, Friday). The problem is that there may be three records for that customer and in the "day" field, there will be a 1 or 2, etc. Of course, in some...
  8. dobe1

    instr from the far right questions.

    I am trying to to locate the last word in a string. I have a list of street names with suffix, and wish to find the suffixes. For example in : St. Marlow CT Bridgstone Prkwy John Monroe St If I were looking for the index of the first space, this would be easy. I would use the following code...
  9. dobe1

    concat data to one record.

    I wish to concatenate several records' data into one field within one record. I know how to do this in Excel, but would prefer this in Access SQL only. Thanks, Dobe Example: Given............ cust_id Day-of-service 0001 1 0001 3 0001 5...
  10. dobe1

    results "package" instead of bitmap or jpeg

    Hello, An employee of mine is attempting to load jpegs into Access by means of pointing to the field | right mouse click| insert object | create from file | browse | and load the object. It comes back into the field as a "package". I do not have the same problem on my PC and in Access. The...
  11. dobe1

    From old style to new inner join

    I am trying to convert the implicit join below in Access 2000: SELECT a.vendor_name, b.first_name + " " + b.last_name AS name, c.number, d.type FROM vendor AS a, employees AS b, empl_phone AS c, phone_types AS d WHERE a.vendor_id=b.vendor_id And b.ven_empl_id=c.ven_empl_id And...
  12. dobe1

    File size question

    Upon executing this code: select a.ccmpny, b.rdrout from cust_table a join rdtl_table b on a.ccmpny + cast(a.ccust# as char) = b.rdcomp + cast(b.rdcust as char) where a.ccmpny in ('93', '95') and a.ccycle <> 'cr' group by a.ccmpny, b.rdrout order by a.ccmpny, b.rdrout I receive the following...
  13. dobe1

    Arithmetic overflow while conv to datetime

    Need a little help on something that is probably elementary. I have tried the following update: Update cust_table set cbildt_1 = cast(cbildt as datetime) cbildt is a decimal 8,0, and the data is a format of i.e. 20050131. There are also some 0 (zero) values. This is the error that I get...
  14. dobe1

    Need help with converting

    Using a legacy database, I have pulled tables into sql server. There is a date field and a time field, both are decimal(8). I would like to somehow concatenate them into a datetime column. I can convert the date field easily enough. The time field has been recorded in military time, not...
  15. dobe1

    Book recommendations

    I have some experience with SQL queries in Access. I will be using SQL Server soon, and will be taking a five day class in February. I would appreciate a book recommendation on SQL Server based upon my limited experiences. Thank you in advance, Dobe
  16. dobe1

    Eliminating Duplicates

    I am attempting in SQL ONLY to eliminate any duplicate records. I have the following two fields, with which I am working. Dynamap_id is the field, which is duplicated as many a three times per dynamap_id number. The other field is recnum. This field is unique, and will later aid me is...
  17. dobe1

    Dates..(Week of Month)

    What I hope to learn: I am looking for an SQL way (in Access) to find the numeric week of the month. In other words 1st, 2nd, 3rd, etc week of the month. The criterion is that the week must be a full week, and must extend to a full 7 days. I have data that must be reported by the week. I...

Part and Inventory Search

Back
Top