public int[] getColumnInt(int colNum)
	{
		int nRows = 0;
		int i = 0;
		int[] ret;
		if(colNum > 0){
			try {
				//get amount of rows
				while(result.next()){
					nRows ++;
				}
				//Check if there is more then 0 rows
				if(nRows == 0)
					return null;
				ret = new int[nRows]; //create the Intarray with the now known size
				result.first();
				ret[i] = result.getInt(colNum);
				i ++;
				while(result.next()){
					ret[i] = result.getInt(colNum);
					i++;
				}

			} catch (SQLException e) {
				e.printStackTrace();
				return null;
			}
			return ret;
		}
		else
		{
			return null;
		}

	}