title: How to get the dimension of a DECLAREd variable in SPs?
body: <p>Suppose I declared some variables in SPs.</p>
  
  <pre><code>DECLARE _R1 VARCHAR(25);
  DECLARE _R2 DECIMAL(4,0);
  DECLARE _R3 DECIMAL(3,0);
  DECLARE _R4 DECIMAL(2,0);
  </code></pre>
  
  <p>How do I get their dimensions like 25, 4, 3, 2?</p>