Viewing 15 posts - 1 through 15 (of 183 total)
Excellent script, slight modification to include schema name, just in case anybody else needs that info
-- create table to hold function names
CREATE TABLE [#TempFunctions]
May 19, 2017 at 5:28 am
Contradiction here: 3 people:
https://mvp.microsoft.com/en-us/PublicProfile/4014238?fullName=Steve%20%20Jones
I have worked with all versions since that time, primarily as a production DBA at all sizes of companies. During my career I became interested in writing...
January 6, 2017 at 6:51 am
Nice solution.
One less line of code: 🙂
SELECT
CASE WHEN [x].[n] % 15 = 0 THEN 'FizzBuzz'
...
December 20, 2016 at 9:39 am
The clue(s) are in the error message(s) - the connection string is invalid.
Concatenate the generated strings and copy/paste into a browser or reverse engineer the URL from the desired report.
From...
June 24, 2016 at 8:10 am
Grumpy DBA (3/18/2016)
Ed Wagner (3/18/2016)
Smoke(on the) Water
transparent
March 18, 2016 at 5:40 am
Untested but should work:
if ( $null -ne $server.Databases[$DBName] ) { $exists = $true } else { $exists = $false }
February 25, 2016 at 4:22 am
You could try a combo of this function:
http://sqlblog.com/blogs/paul_white/archive/2011/12/23/forcing-a-parallel-query-execution-plan.aspx
Or using powershell
February 9, 2016 at 9:21 am
Qira (8/5/2015)
Owh. Did you have any article to - Create SQL Agent to re-process the Cube in Visual Studio?
https://msdn.microsoft.com/en-us/library/ff929186(v=sql.110).aspx
http://bidn.com/Blogs/userid/11/Use-SQL-Server-Agent-to-Process-Cube
January 11, 2016 at 9:47 am
Dobbs77 (12/23/2015)
This Code below...
December 23, 2015 at 10:17 am
My bad - will not work on an identity column!
Like this...
SELECT
VoipCallDetailsAlert.ID
, VoipCallDetailsAlert.Name
FROM
...
December 23, 2015 at 8:34 am
Sean Lange (12/23/2015)
Alvin Ramard (12/23/2015)
gsc_dba (12/23/2015)
Very slick solution Sean, kudos!
Slick, but definitely not what the OP was asking for. The OP clearly said he wanted to select the values...
December 23, 2015 at 7:59 am
Very slick solution Sean, kudos!
December 23, 2015 at 7:40 am
Sean Lange (12/23/2015)
if OBJECT_ID('tempdb..#ZipCodes') is not...
December 23, 2015 at 7:33 am
There are several ways to achieve the desired results.
Here is a sample function that will help you get started:
CREATE Function [fnRemoveNonNumericCharacters](@strText VARCHAR(1000))
RETURNS VARCHAR(1000)
AS
BEGIN
WHILE PATINDEX('%[^0-9]%', @strText) >...
December 23, 2015 at 7:27 am
Viewing 15 posts - 1 through 15 (of 183 total)