A set of SQL Scripts that are useful with Ampla projects
-
Ampla Scripts
-
Database Scripts
-
Data Repository Scripts
###Reporting Point Scripts### A set of scripts to count the number of records by reporting point type
- Module.RecordCounts.sql
- Module.FieldCounts.sql
###Ampla Project Scripts### A set of scripts for understanding the Ampla Project configuration database
- Item.FullName.sql
- Item.FullName.Sorted.sql
- Item.FullName.Type.sql
###Stream Scripts### A set of scripts for understanding the streams in the Ampla state database
- Streams.Age.sql
- Streams.LastSamples.sql
- Streams.Orphaned.sql
- Streams.SampleCount.sql
###Database Scripts### A set of scripts to output general information about the SQL Server Databases
- Database.Assembly.Version.sql
- Database.BackupScript.sql
- Database.FileSizes.sql
- Database.CodeSizes.sql
- Database.Information.sql
- Database.PerformanceCounters.sql
- Database.RecoveryMode.Simple.sql
- Database.Trustworthy.sql
- Database.TableSizes.sql
- Database.ShrinkFiles.sql
###Data Integrity Checks### A set of scripts to check the data integrity of the Ampla Data Repository.
- DataRepository.Field.Duplicate.sql
- DataRepository.Field.Deleted.sql
- DataRepository.Field.InfinityNaN.sql
- Database.Trustworthy.sql