ruilog
Notebook
Blog
About
Content Explore
《SQL Cookbook》
Published : 2008-11-12
Categories :
Software
Tags :
SQL
DB2
MySQL
Oracle
PostgreSQL
Database
Cookbook
O'Reilly
MSSQL
Read
来自 O'Reilly 的Cookbook系列,很多人将其翻译成“锦囊妙计”系列。
这本书应该有 100+ 妙计吧,分别提供 Oracle,MySQL,PostgreSQL,SQL Server,DB2 五种流行的解决方案,涉及到查询、插入、更新、删除、多表操作、排序、字符串处理、时间操作、报表、数据仓库运算、分层查询、常用窗口函数...
才发现... 以前处理的一些个问题真龌龊
!-_-
O'R...
从字符串中删除不需要的字符[SQL]
Published : 2007-12-21
Categories :
Tech
Tags :
Replace
Translate
SQL
DB2
MySQL
SQL Server
Oracle
PostgreSQL
O'Reilly , SQL Cookbook
by Antbony Molinaro
解决方案:replace(), translate()
DB2
select ename,
replace(translate(ename, 'aaaa', 'AEIOU'), 'a', '') stripped1,
sal,
replace(cast(sal as char(4)), '0', '') str...
PostgreSQL 大象
Published : 2007-11-22
Categories :
Software
Tags :
PostgreSQL
psql
pgAdmin
phpPgAdmin
Database
开源社区的家伙们喜欢用动物作为软件标识,MySQL是海豚,PostgreSQL是大象。
大象比海豚“重”一些,MySQL快速,简单稳定,流行于web应用; PostgreSQL对待数据更严肃,在事务,存储,视图,触发,约束方面有更好的表现。
获取软件 http://www.postgresql.org
Debian/Ubuntu 下安装:
sudo apt-get install postgres...
1
Categories
All
Other
Private
School
Software
Tech
SmartKit
Marathon
Trip
Relax
Life