Showing posts with label data type. Show all posts
Showing posts with label data type. Show all posts

Tuesday, 15 January 2013

ASP: variables naming convention

   


When naming variables in ASP, we should consider some conventions.
ASP

Because the way we write code is quite important for us and, possibly, other people, we do need to keep things as much readable as we can. That means, for example, we should use indents when writing procedures and functions or we should follow a common structure in code blocks.

In general we need to make things easy to read and understand.
That is why there are common naming convention for variables. And in this article we are going to explore them.

Wednesday, 15 February 2012

SQL: the alter table statement

   


In SQL we usually create tables, pre-deciding the columns and their characteristics, like default values and data types. It is possible to insert new columns and eventually alter them afterwards, using the alter table statement.
In the following post we are going to see what we can do with it.

With alter table, we can add, change the data type or delete a column inside a table.