UB7.NET launched the all new 64 slots pure rush battlefield 4 server in Asia

Hi all,

UB7.NET had recently launched the all-new 64 slots Battlefield 4 Pure Rush server in the Singapore region. We have collaborated with Ignite ESports clan from India and presently our server is running under their banner.

The server is first of its kind for the Asian region where hardly there is any proper rush server for BF4. We will soon be shifting the server to another provider in order to resolve some of the issues.

So enjoy your stay on our server.

Posted in Games | Leave a comment

How to create an identity column in Oracle 11 g?

Hi all,

I was just wondering about the fact that how to create an auto increment column in oracle. It is quite easy to create an auto increment column in sql server but in oracle’s old version that is 11, it is bit of an overwork for you. Well it is not that difficult if you are using SQL developer but in case you are creating the table from CLI on Unix or other CLI based operating system than you need to know that to create an auto increment column in oracle you need to first declare a sequence using the below structured query:

create sequence name_of_sequence

Once you have executed the above query you will have to create a trigger of type before on the newly created table where you want the auto incremented column. The structured query for the same is mentioned below:

create or replace trigger name_of_trigger before insert on new_tbl_name
for each row
begin
select name_of_seq.nextval into :new.auto_incremented_col_name from dual
end

Congrats you have just created the column with auto incremented values

Posted in Oracle | Leave a comment

What are some of the basic permissions which you need to grant to a newly created user in Oracle?

Well this is not a difficult answer at all but i was facing some weird issues with Oracle .Net provider when i had tried to login with the newly created user. Before you try to login with a newly created user in Oracle .NET provider, please first give that user some basic set pf permissions.

 I don’t know which is the key permission below, which had successfully helped me in login into the .NET provider interface but here are the permission

 

GRANT create session TO demo_user;

GRANT create table TO demo_user;

GRANT create view TO demo_user;

GRANT create any trigger TO demo_user;

GRANT create any procedure TO demo_user;

GRANT create sequence TO demo_user;

GRANT create synonym TO demo_user;

Posted in Oracle | Leave a comment

What should be the server name for the Oracle .NET provider?

Well i was stuck at this question from past 1 hour but now i have finally found it.

In order to specify the server name for the .net provider of Oracle please use the EX Connect format as specidified below:

//localhost:1521/db_name

General syntax is:

//Name of the server:port number/Db

Posted in Oracle | Leave a comment

Basic queries which you need to know in the oracle

User Creation

In order to create a new user just run the below query

CREATE USER DemoUser

IDENTIFIED BY DemoPassword

DEFAULT TABLESPACE DemoSpace

TEMPORARY TABLESPACE temp

QUOTA 20M on DemoSpace;

The query is really self-explanatory and you can modify it as you wish.

Identified is used for creating the password.

Tablespace is basically a space on the disk only where all your objects like tables will be stored.

20M indicates the size of the space allotted to your tablespace.

The above query will refuse to run incase if there is no tablespace in the system. So you need to create the tablespace before executing the above query. Here is the query for the same. It is not a complete query. For that please consult official documentation.

Create tablespace spacename datafile ‘datafilename.dbf’ size 60m reuse extent management local

Also I was confused with the fact that how to store binary data in the oracle table. In the official help file it is written we can use varbinary and binary as the data types for storing binary data but they are not available in the express edition of the oracle. So in order to store the binary data in this edition we can use RAW type. The RAW type allow the storage of bytes of size up-to 4000 bytes.

How to know the version of oracle?
Select * from v$version where banner like ‘oracle%’

Posted in Oracle | Leave a comment