Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 123»»»

THROW - 1 Expand / Collapse
Author
Message
Posted Tuesday, February 19, 2013 9:21 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Thursday, November 6, 2014 1:00 PM
Points: 5,333, Visits: 25,277
Comments posted to this topic are about the item THROW - 1

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 #1421920
Posted Tuesday, February 19, 2013 9:57 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, December 2, 2014 9:20 AM
Points: 1,372, Visits: 1,567
Thanks Ron for another one on SQL-2012.
Need to do a bit of reading to answer this (example [A] in BOL was sufficient to provide necessary hints)


~ Lokesh Vij

Guidelines for quicker answers on T-SQL question
Guidelines for answers on Performance questions

Link to my Blog Post --> www.SQLPathy.com

Follow me @Twitter

Post #1421925
Posted Tuesday, February 19, 2013 9:59 PM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, December 11, 2014 9:19 PM
Points: 1,129, Visits: 1,164
how should I say it ??
I got that right ..was caught up for a while in severity level , as in msdn , when Throw used without parameters, the level suggested 14 ..

and what a well formed questiion
"The user defined error message 55555 does NOT exist in sys.messages"
--(you were thinking it )


well, learned something ..
thanks for the question ...


~ demonfox
___________________________________________________________________
Wondering what I would do next , when I am done with this one
Post #1421926
Posted Tuesday, February 19, 2013 11:27 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 12:52 PM
Points: 13,636, Visits: 11,509
Great question Ron, thanks!



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 #1421936
Posted Wednesday, February 20, 2013 12:01 AM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Monday, December 1, 2014 4:08 AM
Points: 987, Visits: 567
After reading BOL twice, Got some knowledge about it ..

I'm slightly confused with Level mentioned in example B (BOL) . But anyway I managed get it correct..


--
Dineshbabu
Desire to learn new things..
Post #1421938
Posted Wednesday, February 20, 2013 12:24 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, February 6, 2014 4:15 AM
Points: 1,242, Visits: 1,546
Hi,
i am not sure about correct answer. When i execute this T-sql in Sql server 2012.
It shows Level 14 ,State 1 and message = "why oh why do you do this".

When i check BOL, it's showing "The severity is set to 16."
Can someone make it clear that why my answer is incorrect ?

Thanks
Vinay Kumar




Thanks
Vinay Kumar
-----------------------------------------------------------------
Keep Learning - Keep Growing !!!
www.GrowWithSql.com

Post #1421946
Posted Wednesday, February 20, 2013 12:50 AM


SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Yesterday @ 11:15 AM
Points: 4,156, Visits: 5,551
Good question, Ron. Thanks
Learned something new here.


____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
“libera tute vulgaris ex”
Post #1421958
Posted Wednesday, February 20, 2013 1:23 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: 2 days ago @ 12:53 AM
Points: 2,620, Visits: 2,466
Great question, thanks!
Post #1421964
Posted Wednesday, February 20, 2013 3:03 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Yesterday @ 7:38 AM
Points: 859, Visits: 521
Can anyone please explain about the error level 14 and 16. I am not able to understand this
Post #1422000
Posted Wednesday, February 20, 2013 3:26 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: 2 days ago @ 3:44 AM
Points: 292, Visits: 262
oh if only we had 2012 :'( lol

got 2 out of 3 right guesing after googling how THROW works

good question and well written


Regards
ld

Stoke-on-Trent
United Kingdom

If at first you don't succeed, go to the pub and drink away your current thought plan.
Post #1422009
« Prev Topic | Next Topic »

Add to briefcase 123»»»

Permissions Expand / Collapse