Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQLServerCentral.com
»
Suggestions
»
Message Snippet
Message Snippet
Rate Topic
Display Mode
Topic Options
Author
Message
opc.three
opc.three
Posted Friday, March 22, 2013 3:06 PM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 8:26 AM
Points: 6,737,
Visits: 11,791
This enhancement's utility may be limited to folks like myself that post on SSC often but it would make posting easier and (I think) could improve the experiences of those asking questions with those omissions we so often see (no DDL, etc.) or whose answers we end up typing so often (a link to Gail's
Managing Transaction Logs
article), so here goes...
The 'Snippets' feature would appear under the IFCodes Shortcuts to the left of the Message box on Post.aspx in the form of Hyperlinks. The links would write common 'Snippets' of text to the message box. A new user would not have any 'Snippets' initially but could configure new ones through their Control Panel or by clicking a 'Configure Snippets' link shown in the Snippets section to the left of the Message box. A Snippet would consist of a Name (limited to maybe 20 characters) and Text (unlimited, or limited to a reasonably large number of characters).
An example of a snippet would be:
Name =
ask for DDL
Text =
Please provide:
1. DDL in the form of CREATE TABLE statements to create your sample tables
2. DML in the form of INSERT INTO statements to populate the sample tables
3. The expected results of your SELECT statements based on that sample data
4. Most importantly: what you have tried so far.
If I were to configure this Snippet then
ask for DDL
would appear as a Link in the Snippets section under the IFCode Shortcuts section. Similar to an IFCode Shortcut, if I clicked on
ask for DDL
the Snippet text (shown above) would be inserted into the Message box at the cursor-position.
__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
Believe you can and you're halfway there.
--Theodore Roosevelt
Everything Should Be Made as Simple as Possible, But Not Simpler
--Albert Einstein
The significant problems we face cannot be solved at the same level of thinking we were at when we created them.
--Albert Einstein
1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples.
--Giordy
Post #1434523
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Monday, March 25, 2013 9:14 AM
SSC-Dedicated
Group: Administrators
Last Login: Today @ 11:20 AM
Points: 31,437,
Visits: 13,752
I could do the snippet piece, but asking for parameters isn't a capability I have. It's not built in and not sure we could build it.
However I could had a shortcut of sorts that would appear there. Let me try something.
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #1434972
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Monday, March 25, 2013 9:16 AM
SSC-Dedicated
Group: Administrators
Last Login: Today @ 11:20 AM
Points: 31,437,
Visits: 13,752
Please provide: 1. DDL in the form of CREATE TABLE statements to create your sample tables 2. DML in the form of INSERT INTO statements to populate the sample tables 3. The expected results of your SELECT statements based on that sample data 4. Most impo
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #1434975
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Monday, March 25, 2013 9:17 AM
SSC-Dedicated
Group: Administrators
Last Login: Today @ 11:20 AM
Points: 31,437,
Visits: 13,752
didn't quite work. The replacement doesn't respect cr/lf
Hmmm, I'll see if we can add someting that makes sense.
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #1434976
opc.three
opc.three
Posted Monday, March 25, 2013 11:12 AM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 8:26 AM
Points: 6,737,
Visits: 11,791
Thanks, Steve! I was not sure where this would land on the priority list but it sure would be cool. I appreciate you considering the feature.
__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
Believe you can and you're halfway there.
--Theodore Roosevelt
Everything Should Be Made as Simple as Possible, But Not Simpler
--Albert Einstein
The significant problems we face cannot be solved at the same level of thinking we were at when we created them.
--Albert Einstein
1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples.
--Giordy
Post #1435065
Sean Lange
Sean Lange
Posted Monday, March 25, 2013 12:45 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Yesterday @ 1:17 PM
Points: 8,641,
Visits: 8,273
I agree!!! This would be an awesome addition. I far too often find myself typing in the same things over and over again. It would be great to have a place on the site for this stuff.
_______________________________________________________________
Need help? Help us help you.
Read the article at
http://www.sqlservercentral.com/articles/Best+Practices/61537/
for best practices on asking questions.
Need to split a string? Try Jeff Moden's
splitter
.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1435095
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.