home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.vms      DEC's VAX* line of computers & VMS.      264,096 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 263,763 of 264,096   
   Lawrence =?iso-8859-13?q?D=FFOlivei to Waldek Hebisch   
   Re: And so? (VMS/XDE)   
   15 Nov 25 02:41:52   
   
   From: ldo@nz.invalid   
      
   On Sat, 15 Nov 2025 00:24:04 -0000 (UTC), Waldek Hebisch wrote:   
      
   > But for routine database queries I want fixed query structure with   
   > data filling slots. Which is provided by embedded SQL and several   
   > alternatives. I do not want arbitrary strings as queries: with fixed   
   > query structure correctness is not hard, with dynamic strings one   
   > needs to consider a lot of weird corner cases.   
      
   True enough. Fine for canned reports, standard batch processing runs   
   etc. Except COBOL never had any official standard, did it, for these   
   “EXEC SQL” templates.   
      
   > Of course, for ad hoc queries you need dynamic query structure,   
   > but ability to specify query structure should be limited to trusted   
   > users.   
      
   Not if the query is written correctly, which is not hard to do. I   
   posted example Python code for this a few times in this group over the   
   years ... I could probably dig it up and post it again ...   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca