Forum Replies Created

Viewing 15 posts - 151 through 165 (of 182 total)

  • RE: Parse a name field

    ...if there is no data after the 'F' on each row (we can only hope it is that easy).

    If it was easy, everybody would be doing it!;)

  • RE: Query too slow

    I agree with you there, G. I noticed the last 3 words were the 'from', and it wasn't the same table as the one in the table DDL. ...

    If it was easy, everybody would be doing it!;)

  • RE: Query too slow

    That view DDL does not reference the table DDL that was provided. Is this important?

    If it was easy, everybody would be doing it!;)

  • RE: Parse a name field

    Something else to think about...

    What if your name is like: 'Smith, JeffF' ?

    Anyway to get rid of the 'F' as a delimiter, perhaps use some other character?

    If it was easy, everybody would be doing it!;)

  • RE: Conditional Select

    Mark Harley (3/3/2008)


    The report displays several records at a time, depending on how many are returned. The actual report is formatted like the following:

    OrderNumber

    Detail1

    ...

    If it was easy, everybody would be doing it!;)

  • RE: Conditional Select

    Does your report display the data in columns, several records at a time, or is each report page a single record?

    If it was easy, everybody would be doing it!;)

  • RE: Need help with an Update query

    JSAD (3/3/2008)


    I wanto insert values into TF.transID where tf.ID = pr.ID.

    The transID comes from the pr table[thus tf.transID = pr.attemptID]

    update tf

    set tf.transID = pr.attemptID

    from prattempts pr, [servername].[databasename].[dbo].[tablename] tf

    where pr.ID =...

    If it was easy, everybody would be doing it!;)

  • RE: Changing text in a table using Query Analyser

    Lionel2007 (3/3/2008)


    Hi,

    I need to modify data in a table using Query Analyzer. What is the syntax?

    Update [tablename]

    set [columnnameA] = yourdata,

    [columnnameB] = moredata

    where [primarykeycolumn] =...

    If it was easy, everybody would be doing it!;)

  • RE: Need help with an Update query

    JSAD (3/3/2008)


    update tf

    set ID = pr.attemptID

    from prattempts pr, [i]servername[/i].[databasename].[dbo].[tablename] tf

    where pr.ID = tf.ID

    This is the Logic

    There are three tables(abbreviating it so tht i do not give out specific info)

    1]...

    If it was easy, everybody would be doing it!;)

  • RE: Find new customers for every month

    You show a column 'custid' in your post. Do you have another table that contains 'Customer' data and 'custid'?

    If it was easy, everybody would be doing it!;)

  • RE: How to lay out SQL Code

    Steve Jones - Editor (3/2/2008)


    ...

    Ex 3.

    select

    a.name

    , b.address

    , b.city

    , b.state

    , a.phone

    , c.country

    from customers a

    inner join address b

    ...

    If it was easy, everybody would be doing it!;)

  • RE: reports error due to stored procedure having null variables in calculation

    It will also depend on how you want to use the records that contains nulls.

    If TravelCost = null is the same as having TravelCost = 0, then you can use...

    If it was easy, everybody would be doing it!;)

  • RE: Web form for data entry

    Scott B (2/26/2008)


    ...I'm able to enter data into the DB, and I've got my date field being auto-filled by an insert trigger

    Scott,

    This isn't what you were asking about, but...

    If it was easy, everybody would be doing it!;)

  • RE: Practical Methods: Naming Conventions

    Although this topic is almost a year old (at this writing), I'll throw in one of my pet peeves...

    Don't abbreviate anything by omitting one or two letters.

    Emplyee for Employee

    Addrss for...

    If it was easy, everybody would be doing it!;)

  • RE: Datatype for US Money

    In Crystal, you have control of the display field format and can set the $ not to display. I personally don't like a column of 50 numbers each with...

    If it was easy, everybody would be doing it!;)

Viewing 15 posts - 151 through 165 (of 182 total)