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
»
Article Discussions
»
Article Discussions by Author
»
Discuss content posted by Gail Shaw
»
Strings and Defaults
48 posts, Page 1 of 5
1
2
3
4
5
»
»»
Strings and Defaults
Rate Topic
Display Mode
Topic Options
Author
Message
GilaMonster
GilaMonster
Posted Wednesday, January 25, 2012 8:17 PM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 3:31 PM
Points: 37,720,
Visits: 29,974
Comments posted to this topic are about the item
Strings and Defaults
Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild
: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter
We stand on the bridge and no one may pass
Post #1241893
bitbucket-25253
bitbucket-25253
Posted Wednesday, January 25, 2012 8:18 PM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 6:52 AM
Points: 5,102,
Visits: 20,204
Good question - thanks for reminding me of the basics
If everything seems to be going well, you have obviously overlooked something.
Ron
Please help us, help you -before posting a question please
read
Before posting a performance problem please
read
Post #1241894
Paul White
Paul White
Posted Wednesday, January 25, 2012 8:35 PM
SSChampion
Group: General Forum Members
Last Login: Yesterday @ 7:18 PM
Points: 10,989,
Visits: 10,532
Backwards compatibility has a lot to answer for. I cringe slightly every time I see a variable-length data type used without an explicit maximum length value.
Paul White
SQL Server MVP
SQLblog.com
@SQL_Kiwi
Post #1241903
Koen Verbeeck
Koen Verbeeck
Posted Wednesday, January 25, 2012 11:17 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Today @ 6:51 AM
Points: 9,373,
Visits: 6,470
Easy one, thanks Gail!
How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
Member of
LinkedIn
. My blog at
LessThanDot
.
MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1241926
Carlo Romagnano
Carlo Romagnano
Posted Thursday, January 26, 2012 12:48 AM
SSCommitted
Group: General Forum Members
Last Login: Today @ 1:51 AM
Points: 1,971,
Visits: 1,821
bitbucket-25253 (1/25/2012)
Good question - thanks for reminding me of the basics
+1
Post #1241957
Iulian -207023
Iulian -207023
Posted Thursday, January 26, 2012 12:56 AM
SSC Eights!
Group: General Forum Members
Last Login: Saturday, March 16, 2013 9:53 AM
Points: 847,
Visits: 768
Thanks for the question
Iulian
Post #1241958
Brigadur
Brigadur
Posted Thursday, January 26, 2012 1:36 AM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Monday, April 01, 2013 10:11 AM
Points: 576,
Visits: 27,680
Good question, thanks. It is good to be reminded of the default length issues.
Cheers
Post #1241968
GilaMonster
GilaMonster
Posted Thursday, January 26, 2012 1:40 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 3:31 PM
Points: 37,720,
Visits: 29,974
SQL Kiwi (1/25/2012)
Backwards compatibility has a lot to answer for. I cringe slightly every time I see a variable-length data type used without an explicit maximum length value.
Only slightly?
Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild
: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter
We stand on the bridge and no one may pass
Post #1241972
Cadavre
Cadavre
Posted Thursday, January 26, 2012 1:41 AM
SSCrazy
Group: General Forum Members
Last Login: Thursday, May 16, 2013 9:16 AM
Points: 2,236,
Visits: 6,486
Wow, wasn't aware of this so thanks (went with 1 and 1).
Good job I always specify length so it hasn't cropped up before
Not a DBA, just trying to learn
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better, quicker answers on SQL Server performance related questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
If you litter your database queries with nolock query hints, are you aware of the side effects?
Try reading a few of these links...
(*)
Missing rows with nolock
(*)
Allocation order scans with nolock
(*)
Consistency issues with nolock
(*)
Transient Corruption Errors in SQL Server error log caused by nolock
(*)
Dirty reads, read errors, reading rows twice and missing rows with nolock
LinkedIn
| Blog coming soon (for sufficiently large values of "soon"
)!
Post #1241973
paul s-306273
paul s-306273
Posted Thursday, January 26, 2012 2:13 AM
Ten Centuries
Group: General Forum Members
Last Login: Friday, May 17, 2013 4:24 AM
Points: 1,158,
Visits: 642
Good reminder of these sorts of issues.
Thanks Gail.
Post #1241982
« Prev Topic
|
Next Topic »
48 posts, Page 1 of 5
1
2
3
4
5
»
»»
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.