Search found 4 matches

by taucher1
08 May 2009 13:56
Forum: Syntax files
Topic: Create Foldblock for T-SQL
Replies: 6
Views: 21183

Hi,
in v5.10 it will work correctly :)
by taucher1
04 May 2009 12:03
Forum: Syntax files
Topic: Create Foldblock for T-SQL
Replies: 6
Views: 21183

Hi Richard,
sorry for late answer.

I've got this fold (It tooks the first case --end and not the end --if)

if @i != 0 ...
set @country ='CANADA'
end -- if


and not

if @i != 0 ...

Syntax:

PostPosted: Sat Apr 25, 2009 5:26 pm Post subject:
I just tried to add this to the SQL syntax:

[Fold]
1 ...
by taucher1
22 Apr 2009 12:32
Forum: Syntax files
Topic: Create Foldblock for T-SQL
Replies: 6
Views: 21183

:(
No, it will not work.

Ronald
by taucher1
21 Apr 2009 11:03
Forum: Syntax files
Topic: Create Foldblock for T-SQL
Replies: 6
Views: 21183

Create Foldblock for T-SQL

Hi all,
how can I create a Fold for T-SQL Script like this:


if @i != 0
begin

set @state = 'ALBERTA'

Set @new_state = case @state
when 'ALBERTA' then 'AB'
else 'n/a'
end -- case
set @country ='CANADA'
end -- if

I've following Folding ID's

FoldID if
FOLD_BEGIN begin
FOLD_END end ...