I would have to say SQL is classed as scripting as its not compiled before use, it actually utilizes a program to execute its statements.
My understanding of the definition of a script is exactly the same as what it would be in the film industry, you have all the components and tools to make the film (program*) already (actors/sets/ideas -- commands/routines).. all you have to do is direct what the tools are doing.
Maybe a half arse way of looking at it but that is how my tutor explained it all those years ago.