Archivo del Autor: carlosap

iptables quick centos

iptables -F iptables -A INPUT -p tcp –tcp-flags ALL NONE -j DROP iptables -A INPUT -p tcp ! –syn -m state –state NEW -j DROP iptables -A INPUT -p tcp –tcp-flags ALL ALL -j DROP iptables -A INPUT -i lo -j ACCEPT iptables -A INPUT -p tcp -m tcp –dport 80 -j ACCEPT iptables -A… Leer más »

Accessing X11 Display

Accessing X11 Display The X server controls which clients can access the server. Clients with access to the server can display windows or images on your screen, receive keyboard input, monitor mouse movement, and interact with the other clients on the system. The Trusted Extensions feature of Oracle Solaris adds security features to prevent labeled… Leer más »

apuntes

DESCRIBE : describing table structure DESC

How To Unlock HR user in Oracle Database 12c

I have been asked several times about how one can unlock HR schema or user in oracle database 12c? In this blog I will try to answer your question along with some common errors which you may face during or after unlocking the HR schema in Oracle Database 12c. So let’s go ahead and see… Leer más »

usefull commands

list SQL> define DEFINE _DATE = «06/04/15» (CHAR) DEFINE _CONNECT_IDENTIFIER = «orcl» (CHAR) DEFINE _USER = «SYSTEM» (CHAR) DEFINE _PRIVILEGE = «» (CHAR) DEFINE _SQLPLUS_RELEASE = «1201000100» (CHAR) DEFINE _EDITOR = «Notepad» (CHAR) DEFINE _O_VERSION = «Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 – 64bit Production With the Partitioning, OLAP, Advanced Analytics and Real Application… Leer más »

change language sqlplus

51 down vote accepted Try to set user.language and user.country properties in sqldeveloper.conf file located in sqldeveloper\bin\ folder. Sample for set french language: IncludeConfFile ../../ide/bin/ide.conf SetJavaHome D:\jdk1.6.0_25 AddVMOption -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true AddVMOption -Dsun.java2d.ddoffscreen=false AddVMOption -Dwindows.shell.font.languages= AddVMOption -Duser.language=fr AddVMOption -Duser.country=FR AddVMOption -XX:MaxPermSize=128M AddVMOption -Doracle.jdbc.mapDateToTimestamp=false IncludeConfFile sqldeveloper-nondebug.conf To switch off language try to remove its support by editing oracle.translated.locales… Leer más »

Alimentación antes de hacer ejercicio

Muchos atletas ponen mucho énfasis en la comida previa al evento creyendo que es el elemento clave para el rendimiento. Es importante recordar que los alimentos consumidos a lo largo de la semana de entrenamiento y los alimentos y líquidos consumidos durante el evento es igual de importante. El consumo de alimentos y líquidos antes… Leer más »

SQL Server–HOW-TO: quickly retrieve accurate row count for table

http://blogs.msdn.com/b/martijnh/archive/2010/07/15/sql-server-how-to-quickly-retrieve-accurate-row-count-for-table.aspx   Recently, I’ve been involved in a very interesting project in which we need to perform operations on a table containing 3,000,000,000+ rows. For some tooling, I needed a quick and reliable way to count the number of rows contained within this table. Performing a simple SELECT COUNT(*) FROM Transactions operation would do the… Leer más »