Skip to content

Commit 699bc2b

Browse files
authored
add new sp_estindex (#149)
* Create sp_predindex.sql
1 parent 374ab82 commit 699bc2b

File tree

13 files changed

+1977
-359
lines changed

13 files changed

+1977
-359
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# linguist overrides
22
*.sql linguist-language=TSQL
3+
*.sql diff
34

45
# line endings for code coverage files
56
appveyor/sqlcover/* text eol=lf

appveyor/generate_combined_script.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ if (Test-Path $File) {
55
Remove-Item $File
66
}
77

8-
Get-Item $Filter | Get-Content | Out-File $File
8+
Get-Item $Filter | Get-Content | Out-File $File -Encoding utf8

appveyor/run_tsqllint.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ param(
44
$Color = "Green"
55
)
66

7+
$ErrorActionPreference = "Stop"
8+
79
Write-Host "Running TSQLLint with config $Config..." -ForegroundColor $Color
810
tsqllint -c $Config *.sql

appveyor/sqlcover/Coverage.opencoverxml

Lines changed: 491 additions & 356 deletions
Large diffs are not rendered by default.

appveyor/sqlcover/[dbo].[sp_doc]

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ BEGIN
7878
IF (@DatabaseName IS NULL)
7979
BEGIN
8080
SET @DatabaseName = DB_NAME();
81+
SET @Msg = 'No database provided, assuming current database.';
82+
RAISERROR(@Msg, 10, 1) WITH NOWAIT;
8183
END
8284
ELSE IF (DB_ID(@DatabaseName) IS NULL)
8385
BEGIN;

0 commit comments

Comments
 (0)