IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

sql dummy query please


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sunish

New User


Joined: 23 May 2005
Posts: 19

PostPosted: Sat Jun 03, 2006 5:38 pm
Reply with quote

i want to know if there is any dummy query in sql like in cobol
IF .......
CONTINUE
ELSE
..........

CONTINUE is a dummy statement that is not going to do any action in the program.Similarly is there any statement in sql. thanks in advance
Back to top
View user's profile Send private message
natan66

New User


Joined: 16 Sep 2005
Posts: 5

PostPosted: Sun Jun 04, 2006 2:52 am
Reply with quote

there is a dummy table in db2 that u can query
you should use the query :
select * From sysibm.dummy1 ;
result :
X
i think that u can also issue the query :
select ' ' from sysibm.dummy1 ;
result :
' '

i hope this will help
natan reuven
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Issue with EXEC CICS QUERY SECURITY c... CICS 6
Search our Forums:

Back to Top