Archivo del Autor: carlosap

SQL Home Database Administration HDDs, SSDs and Database Considerations

https://www.simple-talk.com/sql/database-administration/hdds,-ssds-and-database-considerations/ A technical journal and community hub from Red Gate Join Simple-Talk Sign in Home SQL .NET Cloud SysAdmin Opinion Books Blogs Forums SQL Home Database Administration HDDs, SSDs and Database Considerations Av rating: Total votes: 33 Total comments: 5 send to a friend printer friendly version HDDs, SSDs and Database Considerations 09 January 2013… Leer más »

table name from table number.

Para listar todas las tablas: for each _file  no-lock where _file._hidden = no,      each _field no-lock where _field._file-recid = recid( _file ):   display _file._file-number.   display _file._file-name _field._field-name. end. ————————————————————– Or, the quick ‘n dirty version: Code: find _file no-lock where _file._file-number = 7. /* change this number */ display _file._file-name.

Bash String Comparison: Find Out IF a Variable Contains a Substring

http://www.cyberciti.biz/faq/bash-find-out-if-variable-contains-substring/   How do I determine whether a variable called spath=»/srv/www/cyberciti.biz/https» contains a substring called «cyberciti.biz»? You can use the portable BourneShell syntax as follows: case «$var» in *pattern1* ) echo «do something #1»;; *pattern2* ) echo «do something # 2»;; * ) echo «Error…»;; esac Here is a sample code: #!/bin/bash spath=»/srv/www/cyberciti.biz/https» sync_root(){ echo… Leer más »