SQL Server 2012 Database with FileStream enabled tables

Hi,
I have some questions concerning the SQL Server 2012 FileStream feature.
In a database combining both Filestream connected tables and none filestream connected tables. It is obviously possible to tell the root path to a filestream FILEGROUP. It's also possible to create database primary data file (.mdf) and several
optional secondary data files (.ndf), and multiple log files.
If I have two filestream connected tables, which each in turn have a couple of other referenced tables (none filestream connected). Is it possible to put the filestream filegroup1 (eg. the filestream connected table1) and its referenced none filestream connected
tables, their data, indexes etc., on the same physical data file? And the other filestream connected table and its referenced tables to another physical file (.ndf)? If this is possible and recommended, how do I declare such an create database statement?
For ex. when having tables for both none archived state, archived state, in the same database. Or is the best solution to split the two (and its referenced tables) in separate databases?
SWEDEV

Hello,
File groups a just contains for the objects, you e.g. can split one table over several file Groups/secondarie files using partitioning. And a filestream is also just a table. You can reference all table Independent of file Groups / file stream.
Olaf Helper
[ Blog] [ Xing] [ MVP]

Similar Messages

  • Using SQL Server 2012 Express with Bitocker

    Hello,
    I'm currently working on getting our SQL Server Express database working with BitLocker but I am coming across a few problems. Here is my scenario:
    The OS is partitioned into two volumes (C and D).
    The C volume contains the OS and Software, while the D volume is primarily used for the database files (logs, back, and mdf).
    The D volume is encrypted using BitLocker
    The database connects using the SA account (SQL Server Authentication)
    From what I understand, BitLocker must be enabled with the same account that the SQL Server is running on. So what I have done is change the SQL Server service account to the user account (lets say its called User) via SQL Configuration Manager. While staying
    logged into User account, I then enable BitLocker via Control Panel -> System and Security -> BitLocker Drive Encryption. I then reboot and then while the software is trying to connect to the database I get the following  exception:
    'login failed for user sa'.
    Is there anything I need to do to get this working? Thanks for the help.

    Hi moncadad,
    When you turn off BitLocker, does the database also show “Recovery Pending”? If so, the simplest cause for “Recovery Pending” might be that a disk spin-up was slow, or a disk became full. Please read this
    blog to fix the issue, then check if you can successfully connect to the database after you turn on BitLocker.
    However, if you are not able to view the database contents only after you turn on BitLocker, I suspect that there are some issues about configuring BitLocker. As far as I know, Bitlocker must be performed by a member of Local Admins Group, please make sure
    that your account is a member of Local Admins Group on your computer.
    Also I would like to recommend you post the question in the
    Microsoft Bitlocker Administration and Monitoring (MBAM) forum to get better support. For more details about configuring SQL Server with Bitlocker, please review the following similar articles.
    Using SQL Server 2012 Standard with Bitlocker
    How can I retrieve my BitLocker recovery key from MBAM in Windows PE
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • Missing access for databases on MS SQL server 2012 database engine

    Hi, i have trouble with my MS SQL server 2012 database engine.
    I can't access to all databases on server by error:
    "Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Cyrillic_General_CI_AS" in the equal to operation"
    If i will change collation to Cyrillic_General_CI_AS, then all db would delete from server.

    AFAIK, this error message thrown on the query level and can be easily resolved..
    SELECT <columns> FROM Orders O JOIN Customers C
    ON O.CustomerName=C.CustomerName COLLATE database_default
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Score report of Microsoft SQL Server 2012 Databases

    Hello,
    I had written exam of Administering Microsoft SQL Server 2012 Databases 70-462 and I am passed, but I didn't get score report of 70-462 paper.
    can you please help us how to download Score report through online.
    Regards,
    Asfad

    Your score report is available via the MCP Website (http://mcp.microsoft.com).  This feature only works for exams taken with PearsonVUE though
    When you see answers and helpful posts, please click Vote As Helpful,
    Propose As Answer, and/or Mark As Answer
    Jeff Wharton
    MSysDev (C.Sturt), MDbDsgnMgt (C.Sturt), MCT, MCSA, MCSE: BI
    Blog: Mr. Wharty's Ramblings
    Twitter: @Mr_Wharty
    MC ID:
    Microsoft Transcript

  • Unable to install SQL Server 2012 along with BIDS & VS 2012 on Windows 7

    Unable to install SQL Server 2012 along with BIDS & VS 2012 on Windows 7 professional.
    I get the below error
    Could not find vsjitdebugger.exe
    Blogs say anti-virus is stopping but I dont have one on the system.
    Note: I had used SQL 2008 on the system previously and has a refresh i have deleted all the software to speed up the system.
    Now i could not install both the software.
    Can I get some help regarding this?

    Hi Nandu,
    As your description, you come across an error(vsjitdebugger.exe cannot be found). Please confirm if the error occurs during the installation of SQL Server 2012.  If so, please help post SQL Server setup logs. By default, SQL Server setup log file locates
    in C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log.
    Base on my research, this error could be caused by that the previous uninstallation is improper and vsjitdebugger.exe file could be mistakenly deleted.
    To troubleshoot the issue, you could start your computer into Safe Mode and fix your problem with one of the following methods. For more information, please refer to the article:
    http://www.fixerrorkit.com/fix-error/fix-vsjitdebugger.exe-error.html.
    1. You could execute the sfc /scannow command following steps below.
    a. Press "Windows+R", type in cmd and then right click "Run as administrator"
    b. Type in sfc /scannow (There's a space between sfc and /scannow) into the dialog and hit Enter key and click ok.
    c. Wait until the System File Checker finishes the check.
    2. You could use a Windows repair installation, also known as a Startup Repair to repair your Windows system files.
    3. You could install the latest Windows updates to fix vsjitdebugger.exe error. Microsoft often releases new service packs and system patches to replace or update some DLL files of Windows system.
    4. You could use third-party tool such as Automatic Error Fix Tool to fix your vsjitdebugger.exe error. However, Microsoft cannot make any representations regarding the quality, safety, or suitability of any third-party software or information found there.
    In addition, if you are unable to install  Visual Studio, I suggest you post your question in Visual Studio Setup and Installation forum at
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vssetup  . It is appropriate and more experts will assist you.
    Regards,
    Michelle Li

  • Can Reporting Services 2005 report on SQL Server 2012 database?

    We would like to upgrade our SQL Server from Standard 2005 to Enterprise/Standard 2012. Unfortunately, we also have a lot of reports based on Reporting Services 2005. If possible we would like avoid upgrading them at this time.
    Is it possible to run Reporting Services 2005 of SQL Server 2012? If yes then is there pre-requiste  like drivers  or dll or any other to connect SSRS 2005 to SQL server 2012?  
    If we run Reporting Services 2005 of SQL Server 2012  then do we will face performance lag issue due to version difference of SSRS 2005 and SQL server 2012?

    Moderators,
    Can anyone merge this -
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/2c44351c-35b4-4208-a2b7-88fc810d53ff/can-reporting-services-2005-report-on-sql-server-2012-database?forum=sqlreportingservices
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • SQL server 2012 - Database Availability Group

    We have 2 new Servers ready to be deployed as Database Servers for Sharepoint 2013.
    both server have 1TB RAID 5 Hard Disk Space.
    We don't have any kind of Shared Storage/SAN etc & we cannot afford to buy this.
    I have Configured Windows Server Fail-over Cluster with File Share Quorum.
    May i Configure the SQL Database 2012 on Each Server on local disk and then make High Availability Groups?

    As well as the youtube video that Edwin has posted for you have a read of my article on SimpleTalk.com.
    https://www.simple-talk.com/sql/database-administration/sql-server-2012-alwayson/
    This takes you through the step by step process.
    HTH
    Warwick Rudd (MCM - SQL 2008 | MCT)
    (SQL Masters Consulting |
    My SQL Server Blog | Twitter)

  • Pre-Requisite Check SQL Server 2012 SP2 TCP Port Enabled Error

    When doing the pre-requisite check to install SCCM (CAS) using an instance of SQL Server 2012 SP2, you get the following error even though SQL Server TCP port has been enabled, set to static port 4022 on the IP addresses in use in SQL Server Configuration
    Manager under Protocols for <SQLInstanceName>: configuration manager primary site and central administration site require sql server tcp enables and set to static port
    To resolve this issue, make sure "4022" is also set in the IPAll node in SQL Server Configuration Manager under Protocols for <SQLInstanceName> then restart the SQL Service and re-run the pre-requisite check and you should be good to go.
    To avoid SCCM SQL-related install failure, keep in mind that SCCM SQL Service Broker (SSB) (used to replicate data between database sites) is set to port 4022 by default. This is different from and cannot be same as the tcp static port set in SQL Server
    Configuration Manager under Protocols for <SQLInstanceName>. For example SSB can use its default tcp port 4022 while a static tcp port of 4023 can be set in SQL Server Configuration Manager under Protocols for <SQLInstanceName> or vice-versa. The
    SCCM SSB port number can be adjusted during SCCM installation on the Database Information page. My take it so change SSB port to 4023 and leave SQL default port at 4022 since SQL serves potentially many apps while SSB is used within/by SCCM.
    If you are getting errors relating to SQL Server service running accounts, SQL Server Collation, and/or SQL Server sysadmin rights while attempting to install a primary site, unselect the SCCM installation option to install default settings at the beginning
    of the install process.
    Also, ensure to install important updates and restart the server.

    Thank you for sharing.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Maintenance plan for SQL Server 2012 Database in AlwaysOn Availability Group

    Hi all,
    I need assistance creating a maintenance plan that will backup a databases logs in order to prevent them from filling up the drive they are located on. I have looked at some blogs but they do not specifically show how this is done.
    My database is in an AlwaysOn Availability Group.
    Thank you very much for your help!
    Jake

    Hi all,
    I need assistance creating a maintenance plan that will backup a databases logs in order to prevent them from filling up the drive they are located on. I have looked at some blogs but they do not specifically show how this is done.
    My database is in an AlwaysOn Availability Group.
    Regular maintenance plan would work. Only thing to remember is that when you create log backup plan, there is a checkbox which says whether it should honor backup preference or not.
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Can I recover a damaged SQL Server 2008 database with the undamaged .mdb and .ldf files?

    Their original SQL Server was 2008, with SP unknown, but installed on D: and C: drives.  The power spike corrupted their O/S on the C:
    drive and someone reinstalled both the O/S and the SQL Server, which is now SQL 2008, SP4.  They have intact files for all system databases, both .mdb and .ldf.  Is there some way they can reconnect with the user databases using the intact copies
    of the previous system databases? I have heard that if the SQL Server is stopped, previous Master and Msdb .mdb and .ldf files moved into place and the server restarted, that any previous user database .mdb and .ldf files can be accessed by the SQL server.
    Is this the case, or are there details missing?

    Hello! try this steps
     1 Open your SQL Server Management Studio console. This application shortcut is available in the SQL Server directory in the Windows Start button.
    2  Enter the system administrator user name and password. SQL Server's administrator user name is "sa." This account is required for privileges to restore the database. If your restoring on a host provider server, use the administrator user name
    and password they supplied for your account.
     3 Right-click your database name and select "Attach." In the new window that opens, click the "Add" button to open a dialog box.
     4 Select your MDF file and press the "Ok" button. It may take several minutes to restore the database if it is a large file. Once the process is finished, browse your tables to verify the data. The database is now restored.
    If nothing helped try to use: 
    https://www.youtube.com/watch?v=1cbOYdvBW2c

  • Unary operator "~" SQL server 2012 SP2 with cumulative update 2 (build 11.0.5548)

    Hello,
    I have problem with #ERROR in MDX query when I use Unary operator "~" in the dimension on level, which should not be included in Total/Sub total.
    VALUE #Error UnaryOperator( Hierarchy: [Income Statement CER].[Income Statement CER] Level: [Income Statement CER].[Income Statement CER].[Level 03] Attribute: Par SK1) (0, 0) Expression cannot be resolved in the context of an arbitrary shape.
    FORMATTED_VALUE #Error UnaryOperator( Hierarchy: [Income Statement CER].[Income Statement CER] Level: [Income Statement CER].[Income Statement CER].[Level 03] Attribute: Par SK1) (0, 0) Expression cannot be resolved in the context of an arbitrary shape.
    When I replace unary operator in dimension with "+" everythings works as a charm...
    Is it something, what should be corrected in the MDX or this is casued by internal problem in SQL server 2012 SP2 CU2 ?
    In excel everything works as it should, member value is excluede from Total/Sub total.
    Thank you in advance for  advice.
    Regards,
    Radek

    Hello,
    I have problem with #ERROR in MDX query when I use Unary operator "~" in the dimension on level, which should not be included in Total/Sub total.
    VALUE #Error UnaryOperator( Hierarchy: [Income Statement CER].[Income Statement CER] Level: [Income Statement CER].[Income Statement CER].[Level 03] Attribute: Par SK1) (0, 0) Expression cannot be resolved in the context of an arbitrary shape.
    FORMATTED_VALUE #Error UnaryOperator( Hierarchy: [Income Statement CER].[Income Statement CER] Level: [Income Statement CER].[Income Statement CER].[Level 03] Attribute: Par SK1) (0, 0) Expression cannot be resolved in the context of an arbitrary shape.
    When I replace unary operator in dimension with "+" everythings works as a charm...
    Is it something, what should be corrected in the MDX or this is casued by internal problem in SQL server 2012 SP2 CU2 ?
    In excel everything works as it should, member value is excluede from Total/Sub total.
    Thank you in advance for  advice.
    Regards,
    Radek

  • Sharepoint 2007 using sql server 2012 database server

    We still have an old SharePoint 2007 farm that runs on SQL Server 2008 and Reporting Services 2008. I would like to migrate this app over to SQL Server 2012. From what I gather SharePoint 2007 supports SQL 2012 if you are running WSS service pack 3 and
    SharePoint server service pack 3 I am already on SP3.  So my question is who all here is running SharePoint 2007 on SQL 2012 and have you had any problems? 

    Yes I have an environment that is SPS 2007 wSP3 and SQL Server 2012, and have been doing this for 2 months. So far, no problems. There have been issies with User Profile services, but those turned out to be unrelated.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Get error when connecting SQL 2012 Management studio to SQL Server 2012 database

    I got this error message when I tried to connect to SQL Server 2012 using Management studio 2012.
    Service 'Microsoft.SqlServer.Management.IRegistrationService' not found (Microsoft.SqlServer.Management.SDK.SqlStudio)

    Did this get this resolved?
    My SSMS 2012 was running without issue for several months until I installed VS2012. After the VS2012 I started getting "Service 'Microsoft.SqlServer.Management.IRegistrationService' not found" when connecting to database in SSMS 2012. I uninstalled VS2012
    and SSMS 2012 started working again. Installed VS2012 and SSMS 2012 is broken again.
    I tried the above suggestions without success. Here are the error details. Any help is greatly appreciated.
    ===================================
    Service 'Microsoft.SqlServer.Management.IRegistrationService' not found (Microsoft.SqlServer.Management.SDK.SqlStudio)
    Program Location:
       at Microsoft.SqlServer.Management.ServiceProvider.GetService[T](IServiceProvider serviceProvider, Boolean throwIfNotFound)
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.NavigationService.Initialize()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.NavigationService.GetView(String urnPath)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.<GetColumnsFromNavigationService>d__11.MoveNext()
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.AddFields(List`1 list, IEnumerable`1 fields, IDictionary`2 allValidFields, AddFieldsFlags flags)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.GetParentFields(INodeInformation source, Dictionary`2& allValidColumns)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItemWithQuery(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, String urnQuery, Boolean registerBuilder, Boolean registerBuiltItems)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItem(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.Build(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItem.RequestChildren(IGetChildrenRequest request)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ExplorerHierarchyNode.BuildChildren(WaitHandle quitEvent)

  • SQL SERVER 2012 Database Engine login issues

    I've installed MS SQL SERVER 2012 Standard Edition. WHat i'm facing now is the SQL SERVER will auto change my "sa" login password to soemthing else. I had put a password to "xxx", but when login to "sa" account using SQL Authentication
    mode, it will prompt login failed for user "sa".
    So, i change to WIndow Authentication mode and login , then from there i change the "sa" password to the original value. Now i login again with the password using SQL authentication and it works.
     But my question is - Why the password will auto change after sometime? does it relate to sticter security policy in SQL SERVER 2012?
    Please advice.

    No, it can't change that on its own.
    Please recall whether during troubleshooting, you have changed the password and tried.
    Also, please check if due to any reason was there any job doing this for you unknowingly, may be some password changed sometime and its getting changed now and then and its getting reset.
    We too do something sometime which we forget.
    Please check in your team internally on it.
    Santosh Singh

  • SQL Server 2012 deployment with System Center Configuration Manager (SCCM) 2012

    hi,
    we have tried to deploy the SQL Server 2012 to our development machines with SCCM 2012 without success.
    Commandline parameters or Configuration.ini in either case the installation failed without any useful errorlog.
    Exists any howto which covers this scenario?
    regards
    genne

    Hello,
    Please see the following article about some requirements for SQL Server instances intended for SCCM 2012:
    http://www.sqlcoffee.com/Tips0019.htm
    Could please check to see if a Summary.txt log file exists after those installation attempts? The following article may help you locate the file on disk:
    http://technet.microsoft.com/en-us/library/ms143702(v=sql.110)
    Please share this log file with us, if possible.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

Maybe you are looking for

  • Importing from iMovie to FCP -- Timeline

    I've been using iMovie and am about to upgrade to FCP. If I import an iMovie project file into FCP, does it import the clips and the timeline/editorial layout? In other words, will I be able to see my layout/edits in the FCP timeline, or will FCP onl

  • How can I get a recovery disk for Satellite P300-1CI?

    Hi everybody, first, sorry for my english, I'm a belgian and I speak french. Yesterday I bought a toshiba Satellite P300-1CI, when I started, I must installed Vista home. I would like to format my disk and reinstall my old Windows XP. My question is

  • After updating software the Netflix icon is gone. How do i get it back?

    How do i get the icon back?

  • System performance measurements

    I just finished the snow leopard upgrade without a hitch. While my macbook pro appears to be slightly faster I would like to see some numbers. I have looked around and I can not find any information on memory utilization. As simple as it sounds I wou

  • Please Guys this is the OO Forum not General Abap QUESTIONS.

    Hi everyone This is the OO Forum. There's often stuff here which really has nothing to do with OO. <b>For example the question on Table Controls and BDC -- sorry poster of that topic I'm not trying to have a go at you but defintely the wrong forum fo