↓
 

The Intransigent Data Blog

Getting data to toe the line

The Intransigent Data Blog
The Intransigent Data Blog
  • Home
  • About this Blog
  • Links
  • Toolset
Home→Author Andrew Ing - Page 3 << 1 2 3 4 5 >>

Author Archives: Andrew Ing

Post navigation

← Older posts
Newer posts →

Configure SSRS Datasources to use Execution Account

The Intransigent Data Blog Posted on 29/10/2015 by Andrew Ing29/10/2015

The SSRS Execution Account is a default Windows credential used by SSRS when running a report to access resources (e.g. file shares for image files) or databases for report datasources that do not require credentials and where Integrated Security is specified. … Continue reading →

Posted in SSRS

Data Obfuscation

The Intransigent Data Blog Posted on 30/07/2015 by Andrew Ing30/07/2015

Some functions for obfuscating data to protect personally identifiable data.  Aims: fast enough to process a large table resulting data is “sufficiently” obfuscated resulting data retains enough characteristics that it makes some sense in context. transformations are repeatable so that … Continue reading →

Posted in T-SQL

Move Data Files

The Intransigent Data Blog Posted on 04/05/2015 by Andrew Ing04/05/2015

Taking a database offline is probably less invasive than a detach-move files-reattach sequence. — Get file name and current location of files. SELECT name AS LogicalFileName, physical_name AS FileLocation, state_desc AS Status FROM sys.master_files WHERE database_id = DB_ID(‘RedgateMonitor’); USE MASTER — Alter … Continue reading →

Posted in DBA

Literal Values in Scripts (VALUES() )

The Intransigent Data Blog Posted on 22/04/2015 by Andrew Ing04/09/2017

Options for including literal values in scripts – syntax that I find particularly hard to remember. The feature is named Table Value Constructor. It was introduced in 2008 – see this article. Source of Merge statement MERGE INTO dbo.TargetTable AS Target … Continue reading →

Posted in T-SQL

SSRS Formatting Choices

The Intransigent Data Blog Posted on 14/04/2015 by Andrew Ing05/05/2015

Hiding Objects for Export CSV Titles and headings (other than column headings) are typically not required in CSV export.  Text and column objects can be individually hidden from csv output: set the DataElementOutput property of the object to NoOutput PDF, Excel, etc Show … Continue reading →

Posted in SSRS

Generate Random Test Data

The Intransigent Data Blog Posted on 03/02/2015 by Andrew Ing25/01/2019

Steps to follow to create a randomised dataset for testing. An online data generator:  www.generatedata.com. Prepare the Database We will be loading a lot of data into the tables. So Set Instant File Initialisation Set the data file size sufficient to contain … Continue reading →

Posted in T-SQL

Random Number Recalculation Bug

The Intransigent Data Blog Posted on 19/01/2015 by Andrew Ing19/01/2015

The problem in outline A simple expression can assign a random order or row number to a set of records.  The following example assigns a random decimal value between 0 and 1 to each row in a set: CAST(RANK() OVER (ORDER … Continue reading →

Posted in T-SQL

Preferring NULL as “no value” Indicator

The Intransigent Data Blog Posted on 14/12/2014 by Andrew Ing14/12/2014

Some practical reasons why NULL should be used as a no-value indicator in a column. These examples arise from a situation where a column will contain a unique value eventually .  Until the value is known the column will have a … Continue reading →

Posted in T-SQL

Shortcuts

The Intransigent Data Blog Posted on 10/10/2014 by Andrew Ing10/10/2014

This page could eventually save hours. SSRS Open Report Data toolbar.  CTRL+ALT+D.  (also on view menu if toolbar not in focus) View Hidden Datasets. Right-click the Datasets node.

Continue reading →
Posted in Uncategorized

Does NEWSEQUENTIALID() avoid conflicts?

The Intransigent Data Blog Posted on 03/10/2014 by Andrew Ing03/10/2014

The Question The IDs generated by NEWSEQUENTIALID() can be guessable.  What would happen if the next sequential ID was guessed, inserted into a column and then NEWSEQUENTIALID() used for the next row?  Would there be a clash of values? The Answer … Continue reading →

Posted in T-SQL

Post navigation

← Older posts
Newer posts →

Recent Posts

  • Alternatives to the (slow) FORMAT function
  • Disable non-clustered indexes during data load
  • Script the creation of ODBC DSNs
  • DAX: partitioned conditional aggregations
  • Referential integrity checks
  • Understanding errors from Tabular Analysis Services
  • Error flows in Azure Data Factory
  • The effect of RAID cache backup battery failure

Pages

  • About this Blog
  • Links
  • Toolset

Categories

  • ASP.Net
  • Automation
  • Azure Data Factory
  • Data Warehouse
  • DAX
  • DBA
  • IIS
  • MDS
  • MDX
  • Permissions
  • SSAS
  • SSIS
  • SSRS
  • T-SQL
  • Uncategorized
  • VBA

Archives

  • January 2022 (1)
  • June 2021 (1)
  • May 2021 (1)
  • August 2020 (2)
  • June 2020 (1)
  • December 2019 (1)
  • March 2019 (1)
  • February 2019 (1)
  • December 2018 (1)
  • November 2018 (1)
  • August 2018 (1)
  • April 2018 (1)
  • October 2017 (1)
  • April 2017 (1)
  • January 2017 (2)
  • November 2016 (1)
  • September 2016 (1)
  • May 2016 (2)
  • April 2016 (1)
  • March 2016 (1)
  • February 2016 (2)
  • December 2015 (3)
  • October 2015 (1)
  • July 2015 (1)
  • May 2015 (1)
  • April 2015 (2)
  • February 2015 (1)
  • January 2015 (1)
  • December 2014 (1)
  • October 2014 (2)
  • September 2014 (2)
  • August 2014 (2)
  • July 2014 (3)
  • June 2014 (2)
  • May 2014 (2)
  • April 2014 (1)
  • March 2014 (1)
  • January 2014 (1)
  • December 2013 (5)

Tags

Blog Convention SQL-Pattern SSAS SSIS SSRS T-SQL Validation

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2022 - The Intransigent Data Blog - Weaver Xtreme Theme
↑