Type Title Author Comments Last updated
Entrada de blog Curso OSBI PENTAHO (en CORDOBA, ARGENTINA) bernabeu_dario 4 13 years 10 months ago
Newsletter kk Desde Dataprix te deseamos Felices fiestas y un próspero Año Nuevo Carlos 0 13 years 11 months ago
Newsletter kk Desde Dataprix te deseamos Felices fiestas y un próspero año 2011 Carlos 0 13 years 11 months ago
Forum topic Manual Alterian DDWeb penyo 2 13 years 11 months ago
Entrada de blog Completo mapa 'interactivo' de introducción a la Minería de Datos Carlos 0 13 years 11 months ago
Forum topic Novedades de IBM Cognos 10, y comparación con Oracle BI 11g y SAP BO 4 Carlos 1 13 years 11 months ago
Forum topic BI en Banca ZEROBQ 3 14 years ago
Forum topic El BI también aprovecha el tirón de las redes sociales Carlos 0 14 years ago
Advertisement Patrocinio de Litebi Carlos 0 14 years ago
Advertisement Patrocinio de Bingo Intelligence HTML Carlos 0 14 years ago
Advertisement BPM Forum 2010 IIR (234x120) Carlos 0 14 years ago
Advertisement BPM Forum 2010 (IIR) Carlos 0 14 years ago
Advertisement Evento IBM Performance 2010 234x234 Carlos 0 14 years ago
Advertisement Banner evento IBM Cognos Express Carlos 0 14 years ago
Advertisement IBM Performance 2010 -Saima Solutions Carlos 0 14 years ago
Entrada de blog Cómo Twittear desde un procedure de Oracle PL/SQL Carlos 0 14 years ago
Advertisement Microsite de Litebi Carlos 0 14 years 1 month ago
Advertisement Microsite de Bingo Intelligence Carlos 0 14 years 1 month ago
Advertisement Microsite de Stratebi Carlos 0 14 years 1 month ago
Advertisement Microsite de Saima Solutions Carlos 0 14 years 1 month ago
Entrada de blog Sobre el evento Informatica Day 2010 Carlos 0 14 years 1 month ago
Entrada de blog Infografía de Zenoss sobre el estado actual de la Virtualización y el Cloud Computing Carlos 0 14 years 1 month ago
Entrada de blog SSAS: Como quitarle al usuario administrador de sistema el acceso como administrador a nuestra instancia de analysis services il_masacratore 1 14 years 1 month ago
Advertisement Evento Planning Saima Solutions Carlos 0 14 years 1 month ago
Forum topic Después de la compra de Netezza por parte de IBM, cuál será la próxima gran adquisición o alianza? Carlos 0 14 years 1 month ago

Publicaciones

  • Differences between Oracle, SQL Server, DB2, MySQL and other ..

    The operation of databases from different manufacturers is similar, but there are many differences between them, even at level of SQL syntax.

    For example, if you knows Oracle, and one day you have to do a date conversion with MySQL, you will wonder the following:

    - How to do a TO_DATE () / TO_CHAR () with MySQL? 

    I open this blog entry to discuss different ways of doing things with each database type. 

    Here I link the SQL Tips Bristle Software , which explains quite well how to do some things with MySQL, Oracle and SQL Server, and I find especially useful the chapter on differences between Oracle and SQL Server

  • The Oracle listener

    In order to access to the same database where are you working outside the database server you must activate the service called listener, it has to be listening.

    It can happens that the database is properly raised and can not connect from other servers, which are also set correctly (correct TNSNAMES, etc.).. 

    In these cases could be that the listener has a problem, or simply has not been initiated.

    To Check the status, start or stop it is very simple. Just open a command line session (console terminal, etc..) with the user that has installed the database, and run the lsnrctl command with the following parameters:

    • Check your state:
        > lsnrctl status

    • Stop the listener:
        > lsnrctl stop

    • Start the listener:
        > lsnrctl start

    Keep in mind that when you stop the listener, the connections that are already in the database won't be closed, so a short stop is not very traumatic, only connections trying to enter while the listener is stopped are rejected, should not affect anyone who already has an opened session.

  • Login with SQLPlus as a DBA without entering password

    If you have the system user who installed the database you can enter SQL Plus as DBA user, without entering a password as follows:

    1. Enters the system with this user. 
    2. From the command line, go into SQLPlus typing:

    > sqlplus "/as sysdba"
    

    If you need to enter using this way because you forgot the password of a user, you can easily change it: 

    SQL> alter user user_name identified by new_password;
    

    It can be more than one Database installed on the server, so you have to validate that the environment variables of the Oracle's user are pointing to your database.

    For verifying that you has login into the correct database you can execute this statement: 

    SQL> select name from v$database; 
    
  • Remote access using Oracle DBLINK

    The easiest way to access from an Oracle database objects from another Oracle database is using a DBLINK (being the easiest does not mean that it is always the most desirable, the abuse of DBLINKS can create many problems, both of performance and safety)

    To do this it's necessary a user with CREATE DATABASE LINK privilege, and create a DBLINK in the source database (A) by a simple statement such as:

    Create database link LNK_from_A_to_B connect to USER identified by PASSWORD USING 'B'; 

    'LNK_from_A_to_B' is the name of the link, 'USER' and 'PASSWORD' are the IDs of the user who will use the link to connect, which will inherit the permissions of all access through the link, and B is the name of the database's instance.

    Using the DBLINK we can connect to the objects with the remote database's permissions that user has been provided in the creation statement.

    To reference an object from the remote database should indicate the name of the object, concatenated with the character '@' and the name that we had given to the DBLINK.

    Example: 

    select * from TABLA@LNK_from_A_to_B 
  • How to connect from Oracle SQL Developer with a remote SQL Server

    I tried to create a connection in SQL Developer with a remote SQL Server database. The first steps to configure Oracle SQL Developer are described in the introductory article to SQL Developer, and had already done some testing with a SQL Server installed on the same machine as SQL Developer, but when I tried to do it with a remote BD SQL Server I found some additional difficulty that I think it's interesting to comment.