下記記事でSQLを操作できるORMのSQLAlchemyを紹介しました。 SQLAlchemyの機能であるrelation/relationshipに関して内容が多く、かつ ...
本日は実務で使用しているSQL Serverについてメモ程度の投稿となります。 テーブル存在をチェックするための記述。 上記の場合、dbo.TestResultSummaryテーブルが存在する場合、dbo.TestResultSummaryを削除し、dbo.TestResultSummaryテーブルをCREATEするという意味。 外部キー ...
今回からは、SQL Data Warehouseのアーキテクチャを詳しく紹介します。SQL Data Warehouseのアーキテクチャを理解すれば、データベースのチューニングなども役に立ちます。今回のテーマは「テーブルの分散」に関わるSQL Data Warehouseのアーキテクチャです。 SQL Data ...
• Use SQL code to choose Distribution and Indexing types for large datasets (>1,000,000 to >50,000,000 rows.) Distribution types: § Round robin, use for ...
SQL Server 2008 introduces the ability to pass a table data type into stored procedures and functions. The table parameter feature can greatly ease the development process because you no longer need ...
The DICTIONARY tables component is specified in the FROM clause of a SELECT statement. DICTIONARY is a reserved libref for use only in PROC SQL. Data from DICTIONARY tables are generated at run time.