Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

My technology blog on SQL Server, TSQL, XML, FILESTREAM and other areas of SQL Server.
Browse by Tags · View All
XML 112
TSQL 69
XQuery 69
XQuery Functions 67
XQuery Training 65
XQuery in TSQL 64
XQuery Tutorial 63
SQL Server XQuery 63
XQuery-Labs 57
BRH 38

Archive · View All
September 2008 32
August 2008 30
July 2008 21
August 2009 19
June 2009 19
May 2010 18
January 2009 15
January 2010 14
October 2008 14
June 2008 13

FILESTREAM directory structure - where do the GUIDs come from?

Jun 16 2010 9:07AM by Jacob Sebastian   

One of the questions that might come to your mind while getting started with FILESTREAM is the way FILESTREAM directories and files are named. Within the FILESTREAM Data Container, SQL Server creates a root folder per FILESTREAM enabled table. If the table is partitioned, a folder will be created for every partition. Within the root folder of the table (or partition), a sub folder will be created for every FILESTREAM column in the table.

You might find the way these folders named very confusing. FILESTREAM folders show up as GUID values such as “5c3769cb-b53a-4da3-a5a8-d5e8ff31fb45”. There was no known way of relating a folder name with a table, until Paul Randal came up with an interesting blog post which shows a query that can be used to relate the directories to their respective tables and columns. You can find Paul’s blog post here.

The query that Paul posted reads the information from some internal system tables which is not available when you connect to SQL Server normally. To access these internal tables, you need to connect to SQL Server using a special method known as Dedicated Administrator Connection (DAC). To establish a DAC to your SQL Server instance, you can do the following.

  1. From SSMS File menu, select New > Database Engine Query
  2. In the connection dialog, prefix your server name with “ADMIN:”. If your server name is DEVSERVER, enter ADMIN:DEVSERVER and then enter the username and password (or go with windows authentication) and click on connect.

Notes:

  1. It looks like you cannot make a Dedicated Admin Connection using the Connect button on the object explorer window.
  2. You can have only one DAC opened at a time. You cannot have a second query window opened with a DAC to the same sever.
  3. For additional references on DAC, read this MSDN article.

Tags: FILESTREAM, TSQL, SQLSERVER, BRH, DAC, #FILESTREAM, #TSQL,


Jacob Sebastian
1 · 100% · 32002
1
 
0
Lifesaver
 
0
Refreshed
 
 
0
Incorrect



Submit

1  Comments  

  • Thank you for sharing!

    commented on Mar 2 2012 11:18PM
    Guru Samy
    9 · 16% · 4992

Your Comment


Sign Up or Login to post a comment.

"FILESTREAM directory structure - where do the GUIDs come from?" rated 5 out of 5 by 1 readers
FILESTREAM directory structure - where do the GUIDs come from? , 5.0 out of 5 based on 1 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]