I was just experimenting with the ParseName function and discovered something a bit unexpected. I thought I would share (but in the form of a teaser).
Without running the code, what do you expect the output to be?
-George
"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
Without running the code, what do you expect the output to be?
Code:
[COLOR=blue]Create[/color] [COLOR=blue]Table[/color] #Temp(Data [COLOR=blue]VarChar[/color](50))
[COLOR=blue]Insert[/color] [COLOR=blue]Into[/color] #Temp [COLOR=blue]Values[/color]([COLOR=red]'Easy Answer'[/color])
[COLOR=blue]Select[/color] * [COLOR=blue]From[/color] #Temp
[COLOR=blue]Drop[/color] [COLOR=blue]Table[/color] #Temp
[COLOR=blue]Create[/color] [COLOR=blue]Table[/color] #Blah(Data [COLOR=blue]VarChar[/color](50))
[COLOR=blue]Insert[/color] [COLOR=blue]Into[/color]. . . #Blah [COLOR=blue]Values[/color]([COLOR=red]'Huh?'[/color])
[COLOR=blue]Select[/color] * [COLOR=blue]From[/color] . . . #Blah
[COLOR=blue]Drop[/color] [COLOR=blue]Table[/color]. #Blah
-George
"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom