POV-Ray : Newsgroups : povray.off-topic : Imagemagick : Re: Imagemagick Server Time
4 Sep 2024 03:16:34 EDT (-0400)
  Re: Imagemagick  
From: SharkD
Date: 5 Aug 2010 23:02:30
Message: <4c5b7b46$1@news.povray.org>
On 8/5/2010 10:35 PM, SharkD wrote:
> They have an awesome set of tutorials that kind of make up for it. I
> would much rather use a scripting language (or less preferably XML)
> instead of tacking on an endless series of command-line arguments, though.

Also, ImageMagick's command-line syntax still makes 10x more sense than 
SQL. For example:

  INSERT INTO clients
  (client_id, client_name, client_type)
  SELECT supplier_id, supplier_name, 'advertising'
  FROM suppliers
  where clients.client_id = suppliers.supplier_id);

The first set of column names is contained in parentheses, the second 
set isn't.

When creating filegroups you don't use quotes:

   ALTER DATABASE AdventureWorks ADD FILEGROUP MyFileGroup

When adding files to them you do use them:

   ALTER DATABASE AdventureWorks
   ADD FILE
   (NAME = N'MyFileGroup',
   FILENAME = N'C:\AdventureWorks\MyFileGroup.ndf',
   SIZE = 5MB,
   MAXSIZE = 100MB,
   FILEGROWTH = 5MB)
   TO FILEGROUP MyFileGroup

Conditional IF statements don't use brackets or a keyword to close the 
block (though I just learned that you can optionally surround the block 
with BEGIN and END).



-- 
http://isometricland.com


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.