<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>SQLinForm Forum</title>
        <description></description>
        <link>http://www.sqlinform.com/forum4/index.php</link>
        <lastBuildDate>Thu, 17 May 2012 16:14:24 +0200</lastBuildDate>
        <generator>Phorum 5.2.10</generator>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,654,654#msg-654</guid>
            <title>Desktop Version Release &quot;2012 April &quot; available (:D (no replies)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,654,654#msg-654</link>
            <description><![CDATA[ The new Desktop Version Release "2012 April " is available.]]></description>
            <dc:creator>guidomarcel</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Fri, 27 Apr 2012 23:20:57 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,651,651#msg-651</guid>
            <title>Dynamic sql does not work (no replies)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,651,651#msg-651</link>
            <description><![CDATA[ Formatting dynamic sql doesn't work with embedded single quotes<br />
<br />
<pre class="bbcode">
Unformatted: SELECT 'str' AS [Value]
Expected: SELECT @sql=N'SELECT ''str'' AS [Value]'
sqlinform: SELECT @sql=N'SELECT 'str' AS [Value]'</pre>
<br />
It also doesn't work the other way<br />
<br />
<pre class="bbcode">
Unformatted: SELECT @sql='SELECT ''str'' AS [Value]'
Expected: SELECT 'str' AS [Value]
sqlinform: SELECT str AS [Value]
</pre>]]></description>
            <dc:creator>Martin</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Wed, 25 Apr 2012 14:34:20 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,650,650#msg-650</guid>
            <title>Free Single User License for Translations (no replies)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,650,650#msg-650</link>
            <description><![CDATA[ Hello,<br />
I am offering a free SQLinForm Single User License for a qualified translation in Italian, Dutch, Spanish, Potuguese, Swedish, Korean,... of the SQLinForm Homepage. If you are interested, please contact me at <a href="mailto:&#105;&#110;&#102;&#111;&#64;&#115;&#113;&#108;&#105;&#110;&#102;&#111;&#114;&#109;&#46;&#99;&#111;&#109;">&#105;&#110;&#102;&#111;&#64;&#115;&#113;&#108;&#105;&#110;&#102;&#111;&#114;&#109;&#46;&#99;&#111;&#109;</a>. <br />
<br />
Regards<br />
Guido]]></description>
            <dc:creator>guidomarcel</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Tue, 03 Apr 2012 23:41:58 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,642,642#msg-642</guid>
            <title>[started] Linebreak / alignment options? (1 reply)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,642,642#msg-642</link>
            <description><![CDATA[ Hi,<br />
<br />
I wonder if it is possible to also enable line-breaks / alignment for these two cases:<br />
<br />
1) align comma-separated parameters in function calls, like for instance in this fragment:<br />
<br />
<pre class="bbcode">
...
FROM  (SELECT  nnp1.rowid                                                               rowid1
              , nnp2.rowid                                                              rowid2
       FROM     xwga_vrw_nnp nnp1
       JOIN     xwga_vrw_nnp nnp2
       ON       nnp1.ber_id                                         = nnp2.ber_id
       AND      nnp2.verw_id                                        &gt; nnp1.verw_id
       AND      NVL(nnp1.new_failsurs_datb, nnp1.old_failsurs_datb) = NVL
                (nnp2.new_failsurs_datb, nnp2.old_failsurs_datb)
       WHERE    nnp1.verwerken                                                = 'J'
       AND      nnp1.time_processed                                     IS NULL
       AND      NVL(nnp1.new_failsurs_datb, nnp1.old_failsurs_datb) IS NOT NULL
       AND      nnp2.verwerken                                                = 'J'
       AND      nnp2.time_processed                                     IS NULL
       AND      NVL(nnp2.new_failsurs_datb, nnp2.old_failsurs_datb) IS NOT NULL
       ORDER BY nnp1.verw_id
              , nnp2.verw_id)
WHERE  rownum = 1;

-- ontdubbel FSS
p_ontdubbel_nnp(p_batch_id, f_bepaal_nnp_rij(rowid1), f_bepaal_nnp_rij(rowid2), 'FSS');</pre>
<br />
<br />
so that that would be something like this:<br />
<br />
<br />
<pre class="bbcode">
...
FROM  (SELECT   nnp1.rowid                      rowid1
              , nnp2.rowid                      rowid2
       FROM     xwga_vrw_nnp nnp1
       JOIN     xwga_vrw_nnp nnp2
       ON       nnp1.ber_id                   = nnp2.ber_id
       AND      nnp2.verw_id                  &gt; nnp1.verw_id
       AND      NVL(nnp1.new_failsurs_datb
                  <span style="color:#FF0000">, nnp1.old_failsurs_datb</span>) 
              = NVL(nnp2.new_failsurs_datb
                  , <span style="color:#FF0000">nnp2.old_failsurs_datb</span>)
       WHERE    nnp1.verwerken                = 'J'
       AND      nnp1.time_processed               IS NULL
       AND      NVL(nnp1.new_failsurs_datb
                  , <span style="color:#FF0000">nnp1.old_failsurs_datb</span>)   IS NOT NULL
       AND      nnp2.verwerken                = 'J'
       AND      nnp2.time_processed               IS NULL
       AND      NVL(nnp2.new_failsurs_datb
                  , <span style="color:#FF0000">nnp2.old_failsurs_datb</span>)   IS NOT NULL
       ORDER BY nnp1.verw_id
              , <span style="color:#FF0000">nnp2.verw_id</span>)
WHERE  rownum = 1;

-- ontdubbel FSS
p_ontdubbel_nnp(p_batch_id
              , <span style="color:#FF0000">f_bepaal_nnp_rij(rowid1)</span>
              , <span style="color:#FF0000">f_bepaal_nnp_rij(rowid2)</span>
              , <span style="color:#FF0000">'FSS'</span>);</pre>
<br />
Which makes to overall length of the code a bit longer but more readable in my opinion; long lines are harder to follow with your eyes.<br />
<br />
or 2) before the THEN in IF-THEN-ELSE conditions or CASE statements (there's an option to insert a break for the THEN keyword in CASE statements, but it does not seem to do anything?)<br />
This is what I can get now:<br />
<br />
<pre class="bbcode">
CASE
WHEN r_signal.RT_NM_WORD = 'NI' THEN
   v_knight_id              := f_figure_out(r_signal.castle_id, p_batch_words) ;
WHEN r_signal.RT_NM_WORD = 'IT' THEN
   v_knight_id              := f_figure_out(r_signal.swamp_id, p_batch_words) ;
END CASE;

IF(p_rule_id = 1452) THEN
   engage_warp_drive('bicycle')
END IF;</pre>
<br />
<br />
and this is what I'd like to get:<br />
<br />
<br />
<pre class="bbcode">
CASE
WHEN r_signal.RT_NM_WORD = 'NI' 
<span style="color:#FF0000">THEN</span> v_knight_id := f_figure_out(r_signal.castle_id
                               <span style="color:#FF0000">, p_batch_words) ;</span>
WHEN r_signal.RT_NM_WORD = 'IT' 
<span style="color:#FF0000">THEN</span> v_knight_id := f_figure_out(r_signal.swamp_id
                               <span style="color:#FF0000">, p_batch_words) ;</span>
END CASE;

   
IF(p_rule_id = 1452) 
<span style="color:#FF0000">THEN</span>
   engage_warp_drive('hamster')
END IF;
</pre>]]></description>
            <dc:creator>Luthien</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Thu, 29 Mar 2012 18:18:44 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,631,631#msg-631</guid>
            <title>[started] Bug with Linebreaks After AND/OR (5 replies)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,631,631#msg-631</link>
            <description><![CDATA[ Hello,<br />
<br />
I have noticed that the "Linebreaks after AND/OR" option does not seem to work, at least not with the options I have selected.  Linebreaks before AND/OR seems to work fine.  I am using the desktop edition, input SQL is 'Any SQL', output SQL is VB String(2).  Example from MS Access:<br />
<br />
SELECT IIf([KitSource]=1,"BioTrack","BioKit") AS KitDB, tblKits.KitID, tblKits.DateSent, tblKits.DateReceived, tblKits.Expired, tblKits.SampleType, tblKits.Resample, tblKits.KitSource<br />
FROM (tblKits LEFT JOIN tblEventBN ON tblKits.KitID = tblEventBN.KitID) LEFT JOIN tblEventBN_R ON tblKits.KitID = tblEventBN_R.KitID<br />
WHERE (((tblKits.SubjectID)=100010027) AND ((tblEventBN.KitID) Is Null) AND ((tblEventBN_R.KitID) Is Null));<br />
<br />
Formatted with Linebreaks after AND/OR (note that it has removed a space after each AND):<br />
strSQL= "" & _<br />
"SELECT IIf([KitSource] = 1, "BioTrack", "BioKit") AS KitDB, " & _<br />
"tblKits.KitID, " & _<br />
"tblKits.DateSent, " & _<br />
"tblKits.DateReceived, " & _<br />
"tblKits.Expired, " & _<br />
"tblKits.SampleType, " & _<br />
"tblKits.Resample, " & _<br />
"tblKits.KitSource " & _<br />
"FROM(tblKits " & _<br />
"LEFT JOIN tblEventBN " & _<br />
"ON tblKits.KitID = tblEventBN.KitID) " & _<br />
"LEFT JOIN tblEventBN_R " & _<br />
"ON tblKits.KitID = tblEventBN_R.KitID " & _<br />
"WHERE(((tblKits.SubjectID) = 100010027) AND((tblEventBN.KitID) IS NULL) AND((tblEventBN_R.KitID) IS NULL)) ;"<br />
<br />
Formatted with Linebreaks before AND/OR:<br />
strSQL= "" & _<br />
"SELECT IIf([KitSource] = 1, "BioTrack", "BioKit") AS KitDB, " & _<br />
"tblKits.KitID, " & _<br />
"tblKits.DateSent, " & _<br />
"tblKits.DateReceived, " & _<br />
"tblKits.Expired, " & _<br />
"tblKits.SampleType, " & _<br />
"tblKits.Resample, " & _<br />
"tblKits.KitSource " & _<br />
"FROM(tblKits " & _<br />
"LEFT JOIN tblEventBN " & _<br />
"ON tblKits.KitID = tblEventBN.KitID) " & _<br />
"LEFT JOIN tblEventBN_R " & _<br />
"ON tblKits.KitID = tblEventBN_R.KitID " & _<br />
"WHERE(((tblKits.SubjectID) = 100010027) " & _<br />
"AND((tblEventBN.KitID) IS NULL) " & _<br />
"AND((tblEventBN_R.KitID) IS NULL)) ;"]]></description>
            <dc:creator>bbhulsey</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Tue, 13 Mar 2012 21:34:36 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,630,630#msg-630</guid>
            <title>[solved] keyword FLOOR (4 replies)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,630,630#msg-630</link>
            <description><![CDATA[ The keyword FLOOR is not being upper cased in Desktop version 4.8.46]]></description>
            <dc:creator>Jwk</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Thu, 29 Mar 2012 18:07:28 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,620,620#msg-620</guid>
            <title>[open] Line Break after INSERT Key Word (2 replies)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,620,620#msg-620</link>
            <description><![CDATA[ I cannot find a way to prevent the Line Break after the Key Word INSERT.  Am I over looking or misunderstanding some setting or is this just not possible (at this time?)?<br />
<br />
The coding standard that I am used to and that is in place where I am working is:<br />
<pre class="bbcode">
INSERT INTO TableName</pre>
<br />
<br />
rather than:<br />
I<pre class="bbcode">
INSERT
INTO TableName
</pre>]]></description>
            <dc:creator>RDWilson2</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Wed, 18 Jan 2012 20:50:22 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,610,610#msg-610</guid>
            <title>[solved] Online version is borked (5 replies)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,610,610#msg-610</link>
            <description><![CDATA[ Online version appears to be broke again. Wont format anything. Tried multiple browsers, flush cached, emptied my cookies, changed the oil, topped off the headlight fluid....no go.]]></description>
            <dc:creator>user</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Fri, 24 Feb 2012 15:45:00 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,607,607#msg-607</guid>
            <title>[solved] Can stored procedure and params be formatted like this? (2 replies)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,607,607#msg-607</link>
            <description><![CDATA[ <pre class="bbcode">
CREATE PROCEDURE [dbo].[usp_CardMult_Create]
(
    @BallCallServerId int
  , @GameId           bigint
  , @MachineSerial    int
)

</pre>]]></description>
            <dc:creator>Absinthe</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Mon, 05 Mar 2012 21:16:02 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,605,605#msg-605</guid>
            <title>[closed] Convert Query from SQL 2008 to SQL92 (1 reply)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,605,605#msg-605</link>
            <description><![CDATA[ Can this be done in SQL92?<br />
<br />
SELECT A.* from SharePointProgress.dbo.tblMscShpDt A<br />
INNER JOIN  <br />
(SELECT ROW_NUMBER() OVER(ORDER BY intid) AS 'RN', *<br />
  FROM SharePointProgress.dbo.tblMscShpDt) B  ON A.intid= B.intid<br />
AND B.RN between 20 and 30]]></description>
            <dc:creator>Steve Anderson</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Fri, 02 Mar 2012 17:39:50 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,600,600#msg-600</guid>
            <title>STORED PROCEDURE: DECLARE HANDLER (1 reply)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,600,600#msg-600</link>
            <description><![CDATA[ Hello,<br />
<br />
Thanks so much for SQLInForm!  <br />
<br />
I am using GUI Release 4.8.37 with Engine 4.8.43.<br />
<br />
Question:  Is there a way to format the following:<br />
<br />
<pre class="bbcode">
DECLARE CONTINUE HANDLER FOR NOT FOUND
   SET VAR1 = 1;
DECLARE EXIT HANDLER FOR SQLEXCEPTION
   SET VAR2 = 999;</pre>
<br />
<br />
Thanks Again,<br />
David]]></description>
            <dc:creator>dlscott</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Mon, 06 Feb 2012 00:33:21 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,599,599#msg-599</guid>
            <title>Qlikview formatting (1 reply)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,599,599#msg-599</link>
            <description><![CDATA[ Hello. Great tool! I've been using this for years. With the increasing usage of Qlikview I was wondering if this will soon be incorporated into the syntax formatting options drop-down..specifically for load script formatting. Thanks!]]></description>
            <dc:creator>JR</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Mon, 06 Feb 2012 00:34:04 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,598,598#msg-598</guid>
            <title>An extra case option? (1 reply)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,598,598#msg-598</link>
            <description><![CDATA[ One of the only things that seems to be missing in this (for me) is the ability to set the case of keywords, functions and identifiers separately.  Assuming you already identify them via parsing, is it a big deal to add an extra couple of drop-downs to allow setting these three separately?  I'm thinking 3 drop downs, each with "Leave as-is", "Upper case", "Lower case" (and possibly "Sentence case"?).<br />
Is this something you've already considered, or would be prepared to add?<br />
Cheers,<br />
Geoff]]></description>
            <dc:creator>Geoff</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Mon, 06 Feb 2012 00:32:12 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,588,588#msg-588</guid>
            <title>[closed] Wanted B)- Beta Testers for NEW Release (3 replies)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,588,588#msg-588</link>
            <description><![CDATA[ Hi,<br />
the next SQLinForm release for Windows users will have a feature to define a Windows Hotkey. The Windows Hotkey will format the SQL and(!) paste the formatted SQL in your SQL editor or Development Environment. <br />
<br />
This new feature will give you a feeling that SQLinForm is a plug-in in your daily DB development environement or your SQL editor.<br />
<br />
<b>If you already have a SQLinForm License Key</b> and would like to test the Beta Version (targeted for February 2012) please just send me a mail.<br />
<br />
Best Regards<br />
Guido]]></description>
            <dc:creator>guidomarcel</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Thu, 09 Feb 2012 17:04:45 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,584,584#msg-584</guid>
            <title>[open] config file pathnames (1 reply)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,584,584#msg-584</link>
            <description><![CDATA[ On linux config files are not hidden files or are not in a hidden dir. they are stored in the current working dir. this will usually end up being the users home dir. <br />
<br />
Normally applications create a hidden dir and store there config files in it or create hidden config files.<br />
<br />
leaving them as normal files tend to make them more likely to be deleted.<br />
<br />
<br />
Brian]]></description>
            <dc:creator>winkey</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Sun, 15 Jan 2012 20:28:07 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,581,581#msg-581</guid>
            <title>[closed] OUTER APPLY (3 replies)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,581,581#msg-581</link>
            <description><![CDATA[ How do I get APPLY to be formatted in the same way as JOIN<br />
(SQL Server)<br />
<br />
<pre class="bbcode">
SELECT x
FROM y
    INNER JOIN z
    ON z.a = x.a
    OUTER APPLY (
        SELECT TOP 1 u FROM v WHERE u.x = z.x
    )
</pre>]]></description>
            <dc:creator>Martin</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Sun, 15 Jan 2012 23:01:26 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,572,572#msg-572</guid>
            <title>[waiting for Info] Handling App-specific tokens (1 reply)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,572,572#msg-572</link>
            <description><![CDATA[ The application that I use has it's own 'intelligent' tokens used to generate more efficient SQL at execution time. <br />
<br />
Example:<br />
<br />
<pre class="bbcode">
&lt;%AND("START_DATE &gt;= &lt;%?(StartDate)%&gt;")%&gt;</pre>
 <br />
<br />
I was wondering if there was an easy way of making this construct format like the AND clause it represents?<br />
<br />
Thanks for an excellent tool. Happy customer for 3+ years.]]></description>
            <dc:creator>Jarvis Metheun</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Sat, 08 Oct 2011 22:53:22 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,571,571#msg-571</guid>
            <title>[waiting for info] Keyword indentation/linebreaks (1 reply)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,571,571#msg-571</link>
            <description><![CDATA[ Please can we have the option for linebreaks & indentation for BEGIN, BEGIN TRANSACTION, COMMIT, COMMIT TRANSACTION, BEGIN WORK, COMMIT WORK, IF, ELSE, ENDIF & MESSAGE?<br />
<br />
Let me know if you need a copy of the SQL that looks *odd*]]></description>
            <dc:creator>BetterChoices</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Sat, 08 Oct 2011 22:49:13 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,569,569#msg-569</guid>
            <title>[closed] replace Host Variables Example (1 reply)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,569,569#msg-569</link>
            <description><![CDATA[ Could you give me an example of what (Replace Host Variables by "?") does because I cant seem to get it to work the way I think it should?]]></description>
            <dc:creator>Orbitus</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Fri, 23 Sep 2011 22:45:50 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,567,567#msg-567</guid>
            <title>[started] Typo on Website (1 reply)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,567,567#msg-567</link>
            <description><![CDATA[ Hi,<br />
<br />
When I attempt to save your webpage as a favorite, there is a mispelling of the word "Version"<br />
<br />
SQLinForm - Free Online Vesion<br />
<br />
Just thought you should know!]]></description>
            <dc:creator>Josh</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Mon, 16 Jan 2012 12:36:46 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,566,566#msg-566</guid>
            <title>[closed] Desktop testing? (1 reply)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,566,566#msg-566</link>
            <description><![CDATA[ I would gladly pay for a desktop license if I knew that it would work, but I've downloaded the desktop version and can't get it to do anything other than change the background color from white to gray.  Is there not a way to test the desktop version with 100 lines or less or something?]]></description>
            <dc:creator>TD</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Sat, 17 Sep 2011 08:36:37 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,565,565#msg-565</guid>
            <title>[open] Linebreaks: Output SQL (1 reply)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,565,565#msg-565</link>
            <description><![CDATA[ I would like to create SQL scripts that have 1 line per statement with no carriage returns between statements.  Basically, it should resemble the option "Output SQL on 1 Line" option, but it should do that for each statement.  Is this possible to do currently?  I'm using paid version 4.8.34.<br />
<br />
Input<br />
<pre class="bbcode">
INSERT INTO "TABLE_X" ("ACCOUNT", "DESCRIPTION", "VALUE_A", "VALUE_B", "ELEMENT_TYPE", "FLAG", "EFF_DATE", "VALIDATION_STATUS_ID", 
"RETAIN", "GROUPING") VALUES ('196420G', 'PAID TAXES, TX', '196420G', '196420G', 'Actuals', null, 190000, 1, 0, null) ; 
INSERT INTO "TABLE_X" ("ACCOUNT", "DESCRIPTION", "VALUE_A", "VALUE_B", "ELEMENT_TYPE", "FLAG", "EFF_DATE", "VALIDATION_STATUS_ID", 
"RETAIN", "GROUPING") VALUES ('196420N', 'PAID TAXES, ME', '196420N', '196420N', 'Actuals', null, 190000, 1, 0, null) ; 
INSERT INTO "TABLE_X" ("ACCOUNT", "DESCRIPTION", "VALUE_A", "VALUE_B", "ELEMENT_TYPE", "FLAG", "EFF_DATE", "VALIDATION_STATUS_ID", 
"RETAIN", "GROUPING") VALUES ('196420V', 'PAID TAXES, MS`', '196420V', '196420V', 'Actuals', null, 190000, 1, 0, null) ;</pre>
<br />
Output<br />
<pre class="bbcode">
INSERT INTO "TABLE_X" ("ACCOUNT", "DESCRIPTION", "VALUE_A", "VALUE_B", "ELEMENT_TYPE", "FLAG", "EFF_DATE", "VALIDATION_STATUS_ID", "RETAIN", "GROUPING") VALUES ('196420G', 'PAID TAXES, TX', '196420G', '196420G', 'Actuals', NULL, 190000, 1, 0, NULL) ;

INSERT INTO "TABLE_X" ("ACCOUNT", "DESCRIPTION", "VALUE_A", "VALUE_B", "ELEMENT_TYPE", "FLAG", "EFF_DATE", "VALIDATION_STATUS_ID", "RETAIN", "GROUPING") VALUES ('196420N', 'PAID TAXES, ME', '196420N', '196420N', 'Actuals', NULL, 190000, 1, 0, NULL) ;

INSERT INTO "TABLE_X" ("ACCOUNT", "DESCRIPTION", "VALUE_A", "VALUE_B", "ELEMENT_TYPE", "FLAG", "EFF_DATE", "VALIDATION_STATUS_ID", "RETAIN", "GROUPING") VALUES ('196420V', 'PAID TAXES, MS`', '196420V', '196420V', 'Actuals', NULL, 190000, 1, 0, NULL) ;</pre>
<br />
Expected Output<br />
<pre class="bbcode">
INSERT INTO "TABLE_X" ("ACCOUNT", "DESCRIPTION", "VALUE_A", "VALUE_B", "ELEMENT_TYPE", "FLAG", "EFF_DATE", "VALIDATION_STATUS_ID", "RETAIN", "GROUPING") VALUES ('196420G', 'PAID TAXES, TX', '196420G', '196420G', 'Actuals', NULL, 190000, 1, 0, NULL) ;
INSERT INTO "TABLE_X" ("ACCOUNT", "DESCRIPTION", "VALUE_A", "VALUE_B", "ELEMENT_TYPE", "FLAG", "EFF_DATE", "VALIDATION_STATUS_ID", "RETAIN", "GROUPING") VALUES ('196420N', 'PAID TAXES, ME', '196420N', '196420N', 'Actuals', NULL, 190000, 1, 0, NULL) ;
INSERT INTO "TABLE_X" ("ACCOUNT", "DESCRIPTION", "VALUE_A", "VALUE_B", "ELEMENT_TYPE", "FLAG", "EFF_DATE", "VALIDATION_STATUS_ID", "RETAIN", "GROUPING") VALUES ('196420V', 'PAID TAXES, MS`', '196420V', '196420V', 'Actuals', NULL, 190000, 1, 0, NULL) ;


</pre>]]></description>
            <dc:creator>jcrane</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Sat, 08 Oct 2011 23:04:20 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,561,561#msg-561</guid>
            <title>[solved] Indent and linebreak for DECLARE (4 replies)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,561,561#msg-561</link>
            <description><![CDATA[ Hello all!<br />
<br />
I have a very strange formatting in SQLinForm.<br />
<br />
Here is what I "send in":<br />
<pre class="bbcode">
-- SYS_UNSPSC_Group
declare @CompanyID int, @GroupName varchar(250), @Description varchar(250)

-- SYS_UNSPSCGroup_GroupPropertiesData
declare @GroupPropertyID int, @GroupPropertyValue varchar(250);

-- In procedure only
declare @GroupID int

--For test only
set @CompanyID = 10297
set @GroupName = 'Fastighetsskötare - Göteborg'</pre>
<br />
Here is the result:<br />
<pre class="bbcode">
-- SYS_UNSPSC_Group
DECLARE
        @CompanyID   INT,
        @GroupName   VARCHAR(250),
        @Description VARCHAR(250)
        -- SYS_UNSPSCGroup_GroupPropertiesData
        DECLARE
                @GroupPropertyID    INT,
                @GroupPropertyValue VARCHAR(250)
                -- In procedure only
                DECLARE
                        @GroupID INT
                        --For test only
                        SET @CompanyID = 10297
                        SET @GroupName = 'Fastighetsskötare - Göteborg'</pre>
<br />
Here is about what I expect:<br />
Please note: the declared variables data type will be aligned and that's working fine. However, I can't get it to show up correctly in this forum editor.<br />
<pre class="bbcode">
-- SYS_UNSPSC_Group
DECLARE @CompanyID INT,
	@GroupName VARCHAR(250),
	@Description VARCHAR(250)
        
-- SYS_UNSPSCGroup_GroupPropertiesData
DECLARE @GroupPropertyID INT,
	@GroupPropertyValue VARCHAR(250)

-- In procedure only
DECLARE @GroupID INT

--For test only
SET @CompanyID          = 10297
SET @GroupName          = 'Fastighetsskötare - Göteborg'</pre>
<br />
So, does anybody have a clue why the formatting is "wrong", or how to set SQLinForm to format as I want? Basically the DECLARE is indented to much, or?<br />
<br />
Thanks in advance,<br />
Fredrik]]></description>
            <dc:creator>its1more</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Mon, 16 Jan 2012 12:20:22 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,558,558#msg-558</guid>
            <title>[solved] June 2011 edition: font issues on Mac OS X (11 replies)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,558,558#msg-558</link>
            <description><![CDATA[ I got some font issues on 10.6.8 with JRE 5.0 or 6.0: The font is replaced by Comic Sans (or similar) and the three buttons "Format", "Edit" and "Clear" don't have a label. Please see attached screenshot (Jan. ed. compared to June ed.)<br />
<br />
<img src="https://img.skitch.com/20110816-pn7qhy7ywi5dsj4c54jcq63s32.png" class="bbcode" border="0" /><br />
<br />
Any idea how to solve this issue?<br />
<br />
Engine: 4.8.36<br />
GUI: 4.8.34<br />
JRE: 5.0 + 6.0]]></description>
            <dc:creator>Jan Beilicke</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Fri, 27 Apr 2012 23:21:51 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,555,555#msg-555</guid>
            <title>[closed] Not understanding the system tray option (2 replies)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,555,555#msg-555</link>
            <description><![CDATA[ Hi,<br />
<br />
First of all, I am loving SQLinForm, one try and I had to buy it. One thing I'm not sure I understand is the Java 6 version with "system tray." Is this intended to put some kind of service/system tray icon in my Window's system tray for ease of access? If so, how do I activate it. I currently have SQLinForm running (June 2011 Java 6 version) and can open it fine from a start menu shortcut I created, but if there is an option to activate it to the system tray, then I have not figured out how that works. <br />
<br />
Please help me understand how I can activate the "system tray" feature or correct me in my understanding of what I should be expecting by "system tray". I do have JRE 1.6.0_24 installed and the active java runtime. I have also gone into the Java Control Panel and made sure the "Place Java Icon in system tray" checked in the advanced tab (if that matters).<br />
<br />
Again, perhaps I am not fully understanding what the "system tray" feature indicates, but any information would be helpful...system tray or no, I love this app!<br />
<br />
Thanks!]]></description>
            <dc:creator>bbrown127</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Fri, 30 Mar 2012 07:56:36 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,554,554#msg-554</guid>
            <title>[closed] Keyword Alignment (1 reply)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,554,554#msg-554</link>
            <description><![CDATA[ Seems like the formatter used to have an option to align keywords, is this still possible?  I like having the FROM, WHERE, AND right aligned to the related SELECT.  Thanks!  This has been such a help when we have to capture and tune unformatted SQL, some of which get into the 1000's of lines.]]></description>
            <dc:creator>SamBaugh</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Thu, 11 Aug 2011 20:03:17 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,543,543#msg-543</guid>
            <title>[solved] Output string (4 replies)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,543,543#msg-543</link>
            <description><![CDATA[ When outputing as a SQLString the string is not formatted correctly.<br />
e.g.<br />
SELECT [RowNum] ,<br />
       [SomeID] ,<br />
       [SomeCode]<br />
FROM   [TestData]<br />
<br />
becomes :<br />
SELECT @SQLString = N'SELECT [RowNum] ,' +<br />
N'       [SomeID] ,' +<br />
N'       [SomeCode]' +<br />
N'FROM   [TestData]'<br />
<br />
which is equivalent to :<br />
SELECT [RowNum] ,       [SomeID] ,       [SomeCode]FROM   [TestData]<br />
which does not execute as there is not space between the last selected column and FROM.<br />
<br />
One solution would be to add a space before each ending quote or after each beginning quote by default.<br />
<br />
<br />
Hope this example makes sense.If there is an alternative please let me know.<br />
<br />
thanks.]]></description>
            <dc:creator>a</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Fri, 02 Mar 2012 17:32:19 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,535,535#msg-535</guid>
            <title>[closed] Online Version not formatting (13 replies)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,535,535#msg-535</link>
            <description><![CDATA[ The online version is not formatting.]]></description>
            <dc:creator>Kellie</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Thu, 28 Jul 2011 20:21:16 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,533,533#msg-533</guid>
            <title>[waiting for info] Search-n-Replace (1 reply)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,533,533#msg-533</link>
            <description><![CDATA[ Hi, grabbing SQL_Statements from IBM-Cognos-Server-Logfile always includes " instead of " and &apos; instead of ' and &gt; instead &gt; ... and so on. There are about 10 characters, that I have to run through my favorite texteditor-macro before pasting it to SQLInform. Would be glad to store a replacement map in SQLinform to do the search-n-replace here instead of using editor macro.<br />
<br />
what do you think?<br />
<br />
regards,<br />
RaRo.]]></description>
            <dc:creator>Raro42</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Thu, 28 Jul 2011 20:27:13 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sqlinform.com/forum4/read.php?3,531,531#msg-531</guid>
            <title>[solved] Custom Output SQL (3 replies)</title>
            <link>http://www.sqlinform.com/forum4/read.php?3,531,531#msg-531</link>
            <description><![CDATA[ I did a quick search for "Output SQL" and didn't find anything.<br />
<br />
Is it possible to design your own output sql?  Specifically, I'm pasting into the syntax editor of SPSS.  The current "Concatenated SQL" almost does the trick, but I have to replace the "||" with "+".<br />
<br />
Thanks for your help,<br />
-Eric]]></description>
            <dc:creator>Eric</dc:creator>
            <category>Suggestions, Questions, Comments</category>
            <pubDate>Fri, 02 Mar 2012 17:36:21 +0100</pubDate>
        </item>
    </channel>
</rss>

