Help Center/
    
      
      MapReduce Service/
      
      
        
        
        Component Operation Guide (LTS)/
        
        
        Using HetuEngine/
        
        
        Common HetuEngine SQL Syntax/
        
        
        HetuEngine DDL SQL Syntax/
        
      
      SHOW CREATE VIEW
    
  
  
    
        Updated on 2024-12-13 GMT+08:00
        
          
          
        
      
      
      
      
      
      
      
      
  
      
      
      
        
SHOW CREATE VIEW
Syntax
SHOW CREATE VIEW view_name
Description
This statement is used to display the SQL creation statement of a specified data view.
Example
To display the SQL statement that can be used to create the order_view view:
SHOW CREATE VIEW test_view;
              Create View              
---------------------------------------
 CREATE VIEW hive.default.test_view AS 
 SELECT                                
   orderkey                            
 , orderstatus                         
 , (totalprice / 4) quarter            
 FROM                                  
   orders                          
(1 row)
   Parent topic: HetuEngine DDL SQL Syntax
  
 Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
                The system is busy. Please try again later.
                
            
        For any further questions, feel free to contact us through the chatbot.
Chatbot