|
AspDotNetDev wrote: stuff creates the same kind of inefficiency as you'd see in C# with the repeated
use of "+" to concatenate strings
It is to be hoped that the STUFF function isn't implemented in SQL.
My main concern is correctitude; after that, readability and maintainability; efficiency isn't a primary concern -- the source values will generally be short (column names) with few (if any) STUFFs.
AspDotNetDev wrote: visit each character in the string
You mean SUBSTRING on each character? You think that's better?
AspDotNetDev wrote: a local table variable
I'd rather keep instantiating/destructing strings than tables.
Were I really concerned I'd write a CLR function instead.
|
|
|
|
|
PIEBALDconsult wrote: You mean SUBSTRING on each character? You think that's better?
PIEBALDconsult wrote: the source values will generally be short (column names) with few (if any) STUFFs
It would be if you were dealing with lots of string operations, but since you won't be then you are right to KISS.
|
|
|
|
|
I have been working for the last TWO HOURS on trying to figure out why a post build event in Visual Studio kept failing!
Here is what failed:
echo f | xcopy /Y "$(ProjectDir)GryphonSoft.NetPad.addin" $(SolutionDir)AddIns\GryphonSoft.NetPad.addin"
Can you spot the goof?
Bob Dole The internet is a great way to get on the net.
2.0.82.7292 SP6a
|
|
|
|
|
missing quote (")
Independent ACN Business OwnerNeed a new cell phone? We supply most of the major carriers. Telus in Canada. Flash, Verizon, T-Mobile and Sprint in the USA. O 2, talkmobile, tmobile, orange, three, and vodafone in Europe. See my website for details.
Within you lies the power for good - Use it!
|
|
|
|
|
Yup. Not sure how I missed that one for so long.
Bob Dole The internet is a great way to get on the net.
2.0.82.7292 SP6a
|
|
|
|
|
Well, it was a missing quote, you know?
|
|
|
|
|
GROAN! <---- We really need a groan smiley! :groan:
Bob Dole The internet is a great way to get on the net.
2.0.82.7292 SP6a
|
|
|
|
|
Mismatched quotes. You've got 3 in there.
2 hours?? You really need a vacation! It took me 5 seconds to see it.
|
|
|
|
|
|
That's why working in a team is good ... you spend 10 minutes feeling increasingly stupid and then give up and ask your colleague, who comes over and sees it in 5 seconds.
|
|
|
|
|
I usually forget to use CALL with multiple BAT files.
|
|
|
|
|
I'm guilty of that one often. Too used to scripting for sensible command lines like Linux...
|
|
|
|
|
It's one of those errors that's a lot easier for others to find.
Because you know that you wouldn't miss something as silly as that, right?
Happens to me a lot more often than I'd like to admit.
People say nothing is impossible, but I do nothing every day.
|
|
|
|
|
|
(√(GROAN!)2)∞!
Bob Dole The internet is a great way to get on the net.
2.0.82.7292 SP6a
|
|
|
|
|
you closed a quote that you never began
|
|
|
|
|
Hi All,
Is their any way ping / message some particular user in CodeProject.
Thanks
Suvabrata
|
|
|
|
|
At the bottom of every post, there is an "email" link. This allows you to privately email that particular user. However, some people turn that off on their account (so I'm told).
I've created a suggestion about this on the Bug/Suggestions page.
You can check it out here[^].
|
|
|
|
|
Thanks,
But something like Facebook or any other site where if any one give any message to you, you get some kind of intimation.
|
|
|
|
|
If anyone replies to you, then the system will send an email to the address you registered with, if you have not turned off the option.
Look at the top right of this page, and hover your mouse over your user name.
Select "My Settings" from the dropdown list, and then click on the "Forums" tab in teh new page.
Make sure the "Send me an e-mail if someone replies to the message" check box is cheked, and press the "Save My Settings" button.
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
|
|
|
|
|
True, that would be nice.
|
|
|
|
|
I disagree, I get far too many emails already - random "hi" from people I don't know doesn't appeal.
Besides, this isn't primarily a social site - it's a code site. The social aspect is just a side effect, not a primary reason for coming here.
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
|
|
|
|
|
I guess I see that side of things too.
|
|
|
|
|
So - you want an inclusion of a type of chat-box?
Which could be beneficial, I suppose.
April
Comm100 - Leading Live Chat Software Provider
modified 27-May-14 8:37am.
|
|
|
|
|
Absolutely,
The user will add people to his chat room, so if any user spamming, the user can remove/Block that user from chat list
|
|
|
|