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 Wanet Telecoms Ltd 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: bebblebrox
  • Content: Threads
  • Order by date
  1. bebblebrox

    limit results to an aggregate function total

    Hi, My table (gift_history) looks like this: donor_id number gift_date datetime gift_amount number query looks like this: select donor_id from gift_history where donor_id= 3890 And gift_date between '01/01/1991' and '01/01/1992' group by donor_id having sum(gift_amount) between 15 and...
  2. bebblebrox

    access skipping autonumbers

    Hi, I have a form that inserts data into an access db using an autonumber column. It passed QA, but in production I'm getting a lot of skipped autonumbers. is that normal? I have all input validated and errors trapped.
  3. bebblebrox

    unique index violation exception?

    is a specific exception thrown if an insert into an access database via oledb causes a violation of a unique index?
  4. bebblebrox

    how to find cause of arithmetic overflow error

    Hi, I'm inserting about 500,000 records during which i'm converting a string to a date. I get an error: Server: Msg 8115, Level 16, State 2, Line 1 Arithmetic overflow error converting expression to data type datetime. The statement has been terminated. How can I figure out which records...
  5. bebblebrox

    how to catch this error

    Hi, Any advice on the problem below? I have a 4 digit string representing a date which I can sucessfully convert when the year is prior to 2000. But, after 2000, I get a syntax error. select convert(datetime,(substring(@date,1,2) + '01' + substring(@date,3,2)),101100) 1999-01-08...
  6. bebblebrox

    freeware data modeling software?

    are there any freeware packages that can be used to create ER diagrams? nothing too fancy, but preferably something that can generate a script.
  7. bebblebrox

    how to allow truncates in a procedure

    hi, i have a procedure which occasionally generates the following error: Server: Msg 8152, Level 16, State 9, Line 112 String or binary data would be truncated. The statement has been terminated. is there any command I can issue prior to running the script so that such truncations would be...
  8. bebblebrox

    how to resume a loop in a procedure on error

    I have a script which uses a cursor (cursor use is not the topic though :)). There are some records that, for various reasons, cause an errors such as: 1. can't insert null 2. data would have been truncated 3. eetc which cause the statement to be aborted. My question is: what construct do...
  9. bebblebrox

    how to trap row errors ona bulk insert

    Hi, So I'm trying to embrace the "cursors are evil" mentality while doing some dataloads. My question is this: Say I'm inserting 10 rows from a query into a table. The first 9 have no problems, but the last has an error because it has a null value, or an arithmetic overflow, or whatever...
  10. bebblebrox

    case statements using logical expressions

    Hi, I have the following snippit: select case addr2 when charindex(addr,'@') > 0 then null else addr2 end as addr2 from members when i run it i get: Server: Msg 170, Level 15, State 1, Line 2 Line 2: Incorrect syntax near '>'. what gives? addr2 is a...
  11. bebblebrox

    need to import & map data , is a cursor the best way?

    Hello, I have a ton of data that i need to import from one table to another database where the data will be split across multiple tables. additionally, the data needs to converted because whereas in the one table a column may be text, on the insert an id for that text value will be inserted...
  12. bebblebrox

    dynamicaly asign variable names from an array

    Hi, I have an array with two cells. The first cell is the name of a variable and the 2nd cell has the value that i'd like to assign to that variable. How can I do this? Thanks, RP
  13. bebblebrox

    data-driven ASP menu?

    where might i find an easily configurable, freeware, data-driven menu suitable for an ASP application?
  14. bebblebrox

    valiating form elements with brackets in the name

    Hi, Suppose you have: <input type=text name="element[]"> how can you pull that value into javascript? document.formName.element[].value returns and error. thanks
  15. bebblebrox

    VS.NET keeps reformatting my html! This is driving me nutts!

    Good Morning, So I this snipit of code from one of my pages: <tr> <td class="sectionHeader1" style="background-image:url("images/text-1.jpg");"> <div style="margin-left:18px">My Name Here</div> </td> </tr> which does exactly what i want it to do in any text editor. and when i first load...
  16. bebblebrox

    looking for &quot;lesson plan&quot; type tutorials for stored procedures

    Hi, I need to teach some folks how to write stored procedures. They already have a concept of stored procedures and can write very simple procedures to select data. I'm trying to find some examples that I can give them of more complex procedures, or some sort of tutorial/lesson plans that are...
  17. bebblebrox

    getThumbNailImage method; how to get from main image not imbeded thumb

    Hi, Is there any way to use the image.getthumbnailimage method whereby you always create the thumbnail from the main image even if it has an embeded thumnail? thanks, rp
  18. bebblebrox

    can you change the way intellisense works?

    Hi, In Visual Studio can you change the order in which something is listed or remove it from intellisense? Whenever I type "response.write(" intellisense causes "response.writefile(" to be written instead unless, once the intellisense context is visible, i hit the up arrow key one time. it...
  19. bebblebrox

    when do queries actuualy execute/best practice for creating them

    Hi, when using the cfquery tag, when does the query actually execute? does the mere presence of the tag execute the query and store the results for later use, or is the query executed when you take some action on it, such as a cfloop? assuming that the query is not executed until you take an...
  20. bebblebrox

    web service: why does method expect object when sig calls for string?

    Hi, I have the following webservice: Imports System.Web.Services Imports System.Data.SqlClient Imports System.Data <System.Web.Services.WebService(Namespace:="com.catalystsolves.northwindCustomers")> _ Public Class Customers Inherits System.Web.Services.WebService #Region " Web Services...

Part and Inventory Search

Back
Top