Forum Replies Created

Viewing 5 posts - 61 through 66 (of 66 total)

  • Reply To: Parse data from notes field

    Phil,

    I'm getting this error. Here is my sql statement:

    SELECT Notes, NoteId

    ,TotalPaid = SUBSTRING(Notes, c.Pos1, c.Pos2 - c.Pos1)

    FROM dbo.NoteReceive

    CROSS APPLY

    (

    SELECT Pos1 = CHARINDEX('Total Paid amount...

  • Reply To: Parse data from notes field

    Never mind Phil, I got it. Thank you for your help.  also thank you Jonah.

  • Reply To: Parse data from notes field

    Thanks Phil,

    I'm sorry for such a novice question(New to SQL) I have this information in a Notes Field along with an ID Field in a table. How do I reference...

  • Reply To: Parse data from notes field

    Hi Phil,

    I'm trying to exact the Payment information (In Red). My problem is they all have different starting positions,  I did the Charindex recommend by Johan and I get 42,43,44,45,46...

  • Reply To: Parse data from notes field

    Thank you Johan,

    I tried the Charindex and I'm able to find the starting position. I have multiple positions 42,43,44,45,46.  What's the best way to go about this? a Case statement...

Viewing 5 posts - 61 through 66 (of 66 total)