Forum Replies Created

Viewing 15 posts - 2,386 through 2,400 (of 2,469 total)

  • RE: DBNULL

    Here's an example...

    SELECT ISNULL(CISCreated, 0) FROM Table will replace all Nulls with zeroes







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Problem with formatting using the CHAR(13) Function

    Sherif - I suggested that you create an UDF or stored procedure to use the t-sql and return the string...is that doable ?!







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Select Include Field Names

    I'm not sure I understand the question - where do you want to use the field name ?! In your application code ?!

    If you do your select * in query...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: DBNULL

    Have you tried using the IsNull function ?!







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Problem with formatting using the CHAR(13) Function

    Try this:

    DECLARE @RoomDescription VarChar(100) (increase len if needed)

    SELECT @RoomDescription =

    ServiceID, FolderID, 'Accomodation for' + ' ' + RTRIM(Title) + ' ' + RTRIM(PaxFirstName) + ' ' + RTRIM(PaxLastName) +...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: More Visas

    Training may be far superior but it has a hefty price attached to it - training in Asian coutries on the other hand is way cheaper & because everybody (&...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Need help assigning Period dates to Week of Dates

    Could you post some sample data from your report table ?!

    I'm not sure I understand your problem completely - eg: would the start and end dates for period 5 (May)...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Discovering field write in lowercase

    when in doubt you can always use ascii values....







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: replacing commas in a table field

    you're welcome - thx. for feedback!







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Sum and Group by

    If the sample data you posted is as you have it in your table I'm not sure why you need to "group by" at all...

    can you not just "select sum(amount)...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: replacing commas in a table field

    Maybe you could create an UDF that returns the string without the commas in the number values - something like this....

    DECLARE @position int, @string varchar(35), @newstring varchar(35)

    -- Initialize the variables.

    SET...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Convert from a table with inconsistent data

    Have you tried explicit conversion to int before storing/retrieving ?!

    eg: select cast(left(refno, 2) as integer) ?!

    1) Identify all rows where refno NOT LIKE 'A%'

    2) Convert remaining rows to int value

    3)...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: can you replicate to another instance on same machine?

    I'm fairly sure you can - I remember an instructor doing something similar for the very same reason (only one server) & giving us a demo...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Earliest Date

    Could you provide some sample data with expected resultset ?!







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: More Visas

    I'm amazed at the volume of response this post has generated - Steve - I can't help but wonder if you end each day thinking about the next topic to...







    **ASCII stupid question, get a stupid ANSI !!!**

Viewing 15 posts - 2,386 through 2,400 (of 2,469 total)