Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

when does an SQLWarning occurs ?

 
Johnson David
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I know that SQLWarnings are not exceptions, and they have to be explicitly retrieved . But i dont know when does they occure.

Has anybody received an SQLWarning, please tell me when and where they occure.


thanks in advance

johnson
 
Scott Johnson
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One situation that may cause a warning is truncation of a string on an insert/update when the string is too long for the column.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic