Quantcast
Channel: Forum SQL Server Database Engine
Viewing all 15889 articles
Browse latest View live

The process cannot access the file because it is being used by another process. [SQLSTATE 42000] (Error 22022). The step failed.

$
0
0

In Sql server 2005 dev edition observing the followed error.

SQLServerAgent Error: The process cannot access the file because it is being used by another process. [SQLSTATE 42000] (Error 22022).  

Earlier the below script executed without error .From few days we are observing this error. Sql agent is running fine.

EXEC dbo.sp_cycle_agent_errorlog;

GO


Hey SS DBE professional! Help us to help you and become globally known for being awesome at what you do!

$
0
0

September has finally arrived, traditionally a strong month for TechNet Guru contributions.

Maybe it is because our professionals have returned from a well deserved Summer break refreshed and inspired?

Maybe it's because they have had some quality time to think of something good to contribute?

Also it is common for this time of year to bring in some new authors. New contenders! New legends!

Could that be you? Do you want some accolade or acknowledgement that you "know your stuff" ?

TechNet Guru winners can go on to be MVPs and high profile technical evangelists within the Microsoft community and work place!

All you have to do is add an article to TechNet Wiki from your own specialist field. Something that fits into one of the categories listed on the submissions page. Copy in your own blog posts, a forum solution, a white paper, or just something you had to solve for your own day's work today.

Drop us some nifty knowledge, or superb snippets, and become MICROSOFT TECHNOLOGY GURU OF THE MONTH!

This is an official Microsoft TechNet recognition, where people such as yourselves can truly get noticed!

HOW TO WIN

1) Please copy over your Microsoft technical solutions and revelations toTechNet Wiki.

2) Add a link to it on THIS WIKI COMPETITION PAGE (so we know you've contributed)

3) Every month, we will highlight your contributions, and select a "Guru of the Month" in each technology.

If you win, we will sing your praises in blogs and forums, similar to the weekly contributor awards. Once "on our radar" and making your mark, you will probably be interviewed for your greatness, and maybe eventually even invited into other inner TechNet/MSDN circles!

Winning this award in your favoured technology will help us learn the active members in each community.

August's entries are still with the judges, but below are July's mighty winners and contenders!

 BizTalk Technical Guru – July 2016 
 

0640_NinjaAwardTinyGold

Kjetil Tonstad22x Latency Improvement In BizTalk Without Changing The CodeSandro Pereira: “A pure simple masterpiece! Well done Kjetil Tonstad.”
LG: “A good real-life example, which is very helpful. Thank you for sharing!”
 

0841.NinjaAwardTinySilver

Mandar DharmadhikariAnalysis of Scenario Which Results in TDDS CrashLG: “Interesting finding. Thanks for sharing!”
Sandro Pereira: “Another great addiction to the TechNet Wiki. Very useful tip. In terms of content, the layout (text, pictures, headers, empty spaces) could be significantly improved because presentation is also good for a better read experience of the article “
 

7827.NinjaAwardTinyBronze

Rahul MadaanUsing TIBCO EMS adapter in BizTalkSandro Pereira: “Not easy to find information about this topic. Nice addiction to the TechNet Wiki. Regarding to the article, it can be a little improved with more content, the layout should be improved and for better reading some of the picture should be follow by the commands in pure text. Nevertheless, great start “

 Forefront Identity Manager Technical Guru – July 2016 
 

0640_NinjaAwardTinyGold

Jeff IngallsMicrosoft Identity Manager 2016 SchemaEd Price: “Wow! I was reading this, not sure what to make of it, because there isn’t a ton of text breaking it down. But when I started scrolling down that first table, I realized how amazing and valuable the data is! And then the Gallery item just really tops off this article. Great job!”
0841.NinjaAwardTinySilver

Peter GeelenMicrosoft Identity Manager 2016 Handbook: Online Companion GuideEd Price: “Fantastic resource and companion to the book! Very helpful to break down the topics!”

 Microsoft Azure Technical Guru – July 2016 
0640_NinjaAwardTinyGold

Kia Zhi Tang (Ryen Tang)Microsoft Azure: Deploying Windows Server 2016 Nano ServerJH: “Maybe one of the largest articles I have seen, but a good one.”
AS: “Good and comprehensive article, but a bit too long for me. It could have been split into 2 or even 3 different in a series.”
0841.NinjaAwardTinySilver

Eldert GrootenboerIntegrating Service Bus Stack With Logic Apps And Azure FunctionsJH: “Contains a lot of example code. Good for getting started with Service Bus and Logic Apps.”
AS: “Good catch and guide on the different handling of Service Bus messages in different services. I would also like to see here the security settings configuration of the function required to be able to properly see it in the list of Logic App designer.”
7827.NinjaAwardTinyBronze

Bhushan GawaleAzure key vault essentials for beginnersJH: “Good introduction to Key Vault.”

 Miscellaneous Technical Guru – July 2016 
 

0640_NinjaAwardTinyGold

Ronen Ariely
&
Sabah Shariq
List of forums by Languages, categories, and field of discussionsRichard Mueller: “Excellent use of Wiki Guidelines, with even “Return to Top” links (these help in such a long article). This article allows us to search for the forums we want easily. Listing them by category helps.”
Ed Price: “Very valuable article, that already has 55 revisions. I see this as an article that’s going to get a lot of use from readers and tweaks from contributors!”
0841.NinjaAwardTinySilver

Ken CenerelliKilling zombie Google Chrome processesRichard Mueller: “Very well explained. Useful code to know and use. The link to the code in the script gallery should be in the References section rather than the See Also, as it is not a Wiki. I like the references.”
Ed Price: “Interesting title! Great and clear write-up, and it features a number of helpful links to learn more on this topic of using Chrome on Windows. Thanks!”
7827.NinjaAwardTinyBronze

SYEDSHANUGetting Started with ASP.NET Core 1.0 RC2 and Angular2Ed Price: “Wow! This is incredibly deep. Love the See Also link and Download link to the source code on TechNet Gallery! Great introduction and use of images. If you need a grammar pass, please ask people for help! Then check this history to see what tweaks were made.”
Richard Mueller: “Detailed steps in this article, but I found the explanation hard to follow. The external links should be collected in an “Other Resources” section. Grammar needs work.”
 SharePoint 2010 / 2013 Technical Guru – July 2016 
0640_NinjaAwardTinyGold

Amjad Khan SharePointSharePoint Online: Create Site Columns, Content Type and Associate with Custom List or Library at site collection level using PowerShell and CSOMJohn Naguib: “Excellent article”
Ed Price: “I love the diagrams, description at the top, and the download to the code! It would be good to break the long code block up into sections to explain what the code does more. Great formatting with Headers and the TOC!”
0841.NinjaAwardTinySilver

Shantha Kumar TWork with host web data using PnP JS library in the SharePoint Hosted Add-InJohn Naguib: “Incredible to have such topic discussed, excellent”
Ed Price: “Valuable scenario, great descriptions, and good use of images and code! It could benefit from a References section at the end with more resources to dig into.”
7827.NinjaAwardTinyBronze

Waqas SarwarSharePoint 2016 Managing Alternate Access Mapping Using PowerShell (Real World Example)Ed Price: “Good use of a See Also section. This is very clear and easy to read! Includes kudos from Arleta in the comments (“Nice article. Thanks!”). It’s a great scenario that’s well written!”
John Naguib: “Nice article”
 Small Basic Technical Guru – July 2016 
0640_NinjaAwardTinyGold

Nonki TakahashiSmall Basic: Sample CodeEd Price: “Very helpful resource for finding what you’re looking for! Thanks!”
0841.NinjaAwardTinySilver

DevaVideo: Installing, running Microsoft SmallBasic in Azure Cloud @ Azure DevTestLabsEd Price: “Excellent video!”
7827.NinjaAwardTinyBronze

Nonki TakahashiSmall Basic Sample: DirectoriesEd Price: “It’s cool to see how to do this. It would benefit from an explanation. Great See Also links!”
Michiel Van Hoorn: “Interesting scripting possibility for OS file directories. Not sure if one should to this with Small Basic but it is at least possible.”

 SQL BI and Power BI Technical Guru – July 2016 
0640_NinjaAwardTinyGold

Thomas LeBlancUsing a Lookup Component in SSISPT: “Tom, you have the only entry this month so YOU WIN! Fortunately it’s also a good post with answers to commonly-asked questions about the SSIS Lookup transform. Thanks”
Ed Price: “Fantastic explanations of each piece of the puzzle. Good use of images. This is common, and you go very deep with it. Thank you! It could be improved with Headers and a TOC. Great contribution!”
Ronen Ariely: “Nice article. Can be very useful. Missing some important sections like Table of content, background or introduction, conclusions, and links to get more information. I recommend to follow articles templates.”

 SQL Server General and Database Engine Technical Guru – July 2016 
0640_NinjaAwardTinyGold

Prashanth JayaramSQL-Server(s)-Inventory-Excel-CSV-Console- Using PowerShell SMO and RMORonen Ariely: “Important issue! The reference links are missing titles.”

Ed Price: “I love the Abstract and Pre-requisites (very important and very clear to have them listed like this). The Logic Flow diagram is also incredibly helpful! As are the use of images and the Conclusion. It would be good to break up the code and explain it (and host it on MSDN/TechNet Gallery). Great article!”

0841.NinjaAwardTinySilver

Prashanth JayaramHow-To-Refresh-Multiple-sql-database(s)-Using-PowerShellRonen Ariely: “Very useful script. TechNet Wiki is not a personal post, and articles should be written in 3rd person. There are links for references at the end, but no titles. The reader must click each link in order to know what they are.”

Ed Price: “Fantastic job formatting this. The diagram in “DB Refresh Flow” is useful, but a little small. It would be good to have an image of the output earlier on. In the Code sections, it would be useful for the code to be broken into parts and then explained in depth. Then the full code could be on TechNet/MSDN Gallery and you could link to it. Great job on the code formatting and References (as Ronen mentions, it’s better to embed the URL in the title of the article). And I love the Restore and Conclusion sections!”

     System Center Technical Guru – July 2016 
    0640_NinjaAwardTinyGold

    sridhar vishwanathamOverride creation best practices: Explicit Group issuesEd Price: “Great write ups that explain the context and then dig into the process/solution! Could benefit from See Also and Reference sections at the end.”
    0841.NinjaAwardTinySilver

    Nick HogarthConfiguration Manager 1606 – OMS Connector (preview feature) by Nick HogarthEd Price: “Great use of images as you lead the reader through the solution! Could benefit from Headers and a TOC. Just type in “[toc]” at the top to create the TOC. Good job on this article!”

     Transact-SQL Technical Guru – July 2016 
    0640_NinjaAwardTinyGold

    Ronen ArielySQL Server – Exposing masked dataSamuel Lester: “Outstanding depth, thanks for the great detail on DDM strengths and limitations”
    Richard Mueller: “A great article describing a new feature. The code is well explained with detailed steps. Thanks!”

     Universal Windows Apps Technical Guru – July 2016 
    0640_NinjaAwardTinyGold

    Santhakumar MunuswamyIntroduction to HoloLensEd Price: “A lot of depth and a great intro! Also good to have the Reference section at the end, and the images help provide context! Very important topic, and I’m glad we have this content on TechNet Wiki!”
    0841.NinjaAwardTinySilver

    Ravindra Singh ChhabraCortana Integration in Universal Windows Platform AppsEd Price: “Great topic, great formatting, great use of code (including solid comments in the code), and good use of images, companion video, and code download! Great topic!”
    7827.NinjaAwardTinyBronze

    Timothé LarivièreCompiled Binding for UWP – What’s new in the Anniversary Update?Ed Price: “Great formatting and use of code! Good to have a link at the end to the code. This article features a very lively conversation in the comments!”
     Visual Basic Technical Guru – July 2016 
    0640_NinjaAwardTinyGold

    .paul.VB.Net OOP Address BookMR: “Amazing work! Thanks for submitting it!”
    Richard Mueller: “Great use of Wiki guidelines, with good images and code. We could use more references.”

     Visual C# Technical Guru – July 2016 
    0640_NinjaAwardTinyGold

    SYEDSHANUASP.NET Core 1.0 RC2 and Angular2 using WEB APIJaliya Udagedara: “This is fantastic. Loved seeing use of ASP.NET Core, Angular 2 along with TypeScript. And you can download the full sample code from TechNet Gallery, Perfect!”
    Ronen Ariely: “The article organized as step-by-step case study, which I love. it starts from prerequisites till the execution, and full project code attached. Well done! ”
    Carmelo La Monica: “Very great article in alla parts. Good code, Images and presentation.”
    0841.NinjaAwardTinySilver

    Sandeep ShekhawatRelationship in Entity Framework Using Code First Approach With Fluent API Jaliya Udagedara: “Well explained with the use of code snippets and images. And you can play around with the code after downloading the sample from TechNet Gallery!”
    Ronen Ariely: “Great article, very nice introduction, well formatted and well explains. The option to download the Code as project is always great advantage.”
    Carmelo La Monica: “Congrats for the topic. i don’t know Entity framework, this is good point for to start.”
    7827.NinjaAwardTinyBronze

    Karthik ElumalaiImport-and-export-excel-files-into-varbinary-max-in-sql-server using Asp.net C#Carmelo La Monica: “Great topic , great presentation and code C # related”
    Ronen Ariely: “Nice article. Missing source code link to download, missing explanations. missing “See also” section with some links. There is room for improvement.”
    Jaliya Udagedara: “Would love to see more explanations around the code.”
     Wiki and Portals Technical Guru – July 2016 
    0640_NinjaAwardTinyGold

    Peter GeelenWiki: Collection of Practical hints & tips for writing an article (from Wiki blog)Ronen Ariely: “very useful list of blog posts links.”
    Ed Price: “Oh boy, what a powerful resource! This is awesome!”
    Richard Mueller: “An amazing collection of links to valuable information. Having this sorted into categories makes it more useful.”
    0841.NinjaAwardTinySilver

    SYED SHANUWiki: Guidelines to write a good Article (meeting the expected quality)Ed Price: “A great collection of tips, and a robust set of See Also links!”
    Richard Mueller: “A good addition to the articles assisting new Wiki authors. A very good “See Also” section.”
    7827.NinjaAwardTinyBronze

    Peter GeelenWiki: Portal or Survival guide?Ed Price: “Nice comparison and breakdown between the two!”
    Richard Mueller: “Great information and well explained. This helps clarify the difference between these important types of articles. Excellent use of the Wiki guidelines.”
     Windows PowerShell Technical Guru – July 2016 
    0640_NinjaAwardTinyGold

    Prashanth JayaramPowerShell- DiskSpaceGUI-Tool-MultiServer(s)-Grid-Email-Search-FeaturesRichard Mueller: “Well explained with good images, code, and references. Lots of code. Could interesting or novel sections of the code be highlighted and futher explained? Perhaps the code should be in the script Gallery.”
    Ed Price: “Great descriptions. Could benefit from a formatting pass (font style, for example) and more of a breakdown of the code block so that you know what each part of the code does. Good use of images and good Conclusion. Great References section, but it might be good to embed the links in the titles of the articles so that we know what the articles are about a little better. Great contribution!”
    0841.NinjaAwardTinySilver

    Arleta WanatPowershell GridView to help with SharePoint data viewingEd Price: “Good use of images and helpful article, but a little light in the explanations. Could use a See Also section with Wiki links.”
    Richard Mueller: “Interesting. We could use more explanation and references.”
    7827.NinjaAwardTinyBronze

    Maor BrachaAzure & Office365 Available and consumed licenses report for MS partnersEd Price: “This is a good topic, but it would be more valuable to include the code, breaking it down and explaining what it does. ”
    Richard Mueller: “We need more explanation of the code. Also, references and a “See Also” would help.”

     Windows Presentation Foundation (WPF) Technical Guru – July 2016 
    0640_NinjaAwardTinyGold

    Magnus (MM8)WPF: Enabling ClearType On a TextBoxEd Price: “Great wrhite-up and use of code! Could benefit from Headers and a TOC. Very helpful topic!”

     Windows Server Technical Guru – July 2016 
    0640_NinjaAwardTinyGold

    Peter GeelenBest Practices for Internal AD Domain and Network NamesMark Parris: “Knowledge that all Active Directory Administrators need to know.”
    Richard Mueller: “Very well explained and a good addition to the Wiki in this category. I especially like the references.”
    JM: “This is a great article on naming conventions for AD, thanks for your contribution”
    0841.NinjaAwardTinySilver

    Kia Zhi Tang (Ryen Tang)Nano Server: Deploying Python 3.x interpreterJM: “This is an excellent article on Python in Nano Server, thanks for your contribution”
    Mark Parris: “Good insights on Nano Server and Python Interpreter”
    Richard Mueller: “Great use of Wiki guidelines with good references and a great “See Also” section.”

    Good luck!
    Pete Laker

    (Azure MVP)


    #PEJL
    Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over toTechNet Wiki, for future generations to benefit from! You'll never get archived again, and you could win weekly awards!

    Have you got what it takes o become this month's TechNet Technical Guru? Join a long list of well known community big hitters, show your knowledge and prowess in your favoured technologies!

    Unable to connect to SQL Server '(local)'. The step failed.

    $
    0
    0

    Hi

    i am getting below error , in sql Agent 2008(R2) RTM  one of my  job. if i run manually  it getting succeed. But in job only some time it is getting failed , please help me  

    note: this job is pointing to Remote Server  

    Unable to connect to SQL Server '(local)'.  The step failed.

    Regards,

    venkat


    regards venkat

    SQL SERVICE NOT STARTING

    $
    0
    0

    I'm trying to restart the DB engine but failed , when check with error found stack dump error created and stack dump file found below text. Let me know what is the issue and resolution. Thanks. 

    Sql server version : Sql 2008 R2 SP2

    2016-09-07 17:19:40.20 spid7s      Starting up database 'master'.
    2016-09-07 17:19:40.22 spid7s      Using 'dbghelp.dll' version '4.0.5'
    2016-09-07 17:19:40.22 spid7s      ***Stack Dump being sent to D:\SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\LOG\SQLDump0047.txt
    2016-09-07 17:19:40.22 spid7s      SqlDumpExceptionHandler: Process 7 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.
    2016-09-07 17:19:40.22 spid7s      * *******************************************************************************
    2016-09-07 17:19:40.22 spid7s      *
    2016-09-07 17:19:40.22 spid7s      * BEGIN STACK DUMP:
    2016-09-07 17:19:40.22 spid7s      *   09/07/16 17:19:40 spid 7
    2016-09-07 17:19:40.22 spid7s      *
    2016-09-07 17:19:40.22 spid7s      *
    2016-09-07 17:19:40.22 spid7s      *   Exception Address = 0000000000C7ADEF Module(sqlservr+000000000050ADEF)
    2016-09-07 17:19:40.22 spid7s      *   Exception Code    = c0000005 EXCEPTION_ACCESS_VIOLATION
    2016-09-07 17:19:40.22 spid7s      *   Access Violation occurred reading address 0000000000000000
    2016-09-07 17:19:40.22 spid7s      *  
    2016-09-07 17:19:40.22 spid7s      *
    2016-09-07 17:19:40.22 spid7s      *  MODULE                          BASE      END       SIZE
    2016-09-07 17:19:40.22 spid7s      * sqlservr                       0000000000770000  0000000004381FFF  03c12000
    2016-09-07 17:19:40.22 spid7s      * ntdll                          0000000076E20000  0000000076FC9FFF  001aa000
    2016-09-07 17:19:40.22 spid7s      * kernel32                       0000000076D00000  0000000076E1EFFF  0011f000
    2016-09-07 17:19:40.22 spid7s      * KERNELBASE                     000007FEFCEB0000  000007FEFCF19FFF  0006a000
    2016-09-07 17:19:40.22 spid7s      * ADVAPI32                       000007FEFEC20000  000007FEFECFAFFF  000db000
    2016-09-07 17:19:40.22 spid7s      * msvcrt                         000007FEFE680000  000007FEFE71EFFF  0009f000


    SANTHOSH KUMAR


    SANTHOSH KUMAR


    database mail doesn't start

    $
    0
    0

    Hi,

    I'm using a test server for training. A few days ago I did some tests with backup/restore/rebuild of the system databases, everything worked fine, or at least it seemed having worked fine.

    Now I'm doing some tests with database mail and several problems appeared.

    First, I received an error message from database mail wizard and I solved with this statement:

    ALTER DATABASE msdb SET NEW_BROKER WITH ROLLBACK IMMEDIATE

    Next I saw error messages in the log about the user ##MS_PolicyEventProcessingLogin##. At this point I realized this was the result of my previous tests with the system databases. I solved the problem with this statement in the master and MSDB:

    exec sp_change_users_login 'Auto_Fix', '##MS_PolicyEventProcessingLogin##', 
    NULL

    Event after these corrections, database mail doesn't start, I mean, I can't see the start message in the log. All the mail messages stay in the queue, I can see the messages in the queue using one of these statements:

    select * from msdb..sysmail_allitems

    SELECT * FROM ExternalMailQueue

    I can see the mail queue status as inactive using the following statement:

    msdb..sysmail_help_queue_sp @queue_type = 'Mail'

    I already tried to start/stop the database mail in MSDB with the following statements:

    EXEC msdb.dbo.sysmail_stop_sp;
    EXEC msdb.dbo.sysmail_start_sp;

    In the middle of all these tests I already deleted the messages in the queue using 

    msdb.dbo.sysmail_delete_mailitems_sp @sent_status='unsent'

    I also restarted the SQL Server service and SQL Server agent service several times. 

    I have no idea what else I can try to start database mail.

    Thank you for any help !



    Dennes [http://bufaloinfo.cloudapp.net] Inscreva-se em meu treinamento on-line de T-SQL - [http://bufaloinfo.cloudapp.net/Cursos/linguagemsql.aspx]

    SQL server database Movement from Old drive to new drive

    $
    0
    0

    Hi,

    we want to migrate SQL server database from old drive to new drive on same server, we have 8 database are available in old drive.

    2 database size is around 8 TB and other databases are 1 TB. Can you please share the best plan to migrate SQL database from old drive to new drive without any issue.

    Thanks & Regards,

    karthik B


    How to modify password of another linked server?

    $
    0
    0

    Hi All,

    I know how to modify password of the server that I am currently on, like 

    ALTER LOGIN test
    WITH PASSWORD = '123SFDFADFAFSD'

    But How may I modify some other linked server's password?

    like we do 

    SELECT * FROM [10.10.10.10].DATABASE.DBO.TABLE

    Thanks for help!

    Lun

    Add database to availability group: Password required

    $
    0
    0

    Hello,

    Password required when adding database to availability group, take.ms/QC9FA

    This database is encrypted by database master key, you need to provide valid password when adding it to the availability group.

    But "SELECT * FROM sys.dm_database_encryption_keys" shows nothing about it.

    How is that possible?

    Thanks.


    Любовь долготерпит, ...



    Copy job schedule from existing job to a new job

    $
    0
    0

    We have about 20 QC servers running SQL Server 2012.  Each one of these servers has a job that restores the db from prod with an extremely lengthy and "one time runs" schedule.

    A new job was created to take the place of this old restore job.

    Is it possible to copy just the job schedule with job schedule names from the old job to the new job?  Otherwise this would be like 500-700 individual one time run schedules to copy on all these servers! ugh.

    Several questions about Always Encrypted for a Data Warehouse.

    $
    0
    0

    Greetings. So we have a SQL Server 2012 Data Warehouse that's in the 8 TB (compressed) range. We use a 3rd party product for encrypting specific flies/ filegroups that contain PII. Our encryption is the type protects us if a disk or backup is stolen, the tables containing PII will not be able to be read. Think TDE, but only for specific tables.

    We are having some issues with this product and as such I'm looking for alternatives. 

    SQL Server 2016 Always Encrypted is somewhat attractive right off the bat as it would satisfy not only a current encryption feature,  but I believe would also satisfy a future requirement I believe we'll have for scrubbing PII data for the bulk of our applications. It's not really the same type of encryption that we're using today, but I don't know that that's a bad thing really. My initial apprehension here is that the columns that get encrypted become varbinary columns. Testing column-level encryption on 2012 revealed that indexes on these columns are almost useless, and make queries that search on these columns very slow.

    So then I started exploring other possibilities, which lead me to more questions. 

    I looked into In-Memory tables, to use in conjunction with my Always Encrypted columns. I realize these are typically geared towards OLTP environments, but figured it was worth researching. The hope would be that the speed gained from In Memory would make up for my now useless indexes. However, we have 500 GB of RAM currently, and just one of my tables that contains PII is 1 TB. Then there are another 266 tables (they also contain PII) that I would need to put in memory, so I nixed that idea.

    So then I stared looking into Columnstore indexes. These seem more promising, but they'd still have to be placed on varbinary columns. 

    All of this leads to several questions:

    1. Just to satisfy my curiosity, can In-Memory tables be used successfully in a Data Warehouse environment, provided one has enough RAM?
    2. Would a columnstore index do any better on a varbinary column than a regular index?
    3. Does anyone have any other ideas as to what I can do here? The goal is encrypted tables (or at least encrypted columns) while maintaining the normal use of indexes. 

    A couple extra fun facts:

    A) The typical "salt-hash" in place of real encryption is totally out for legal reasons.

    B) TDE is our because backup encryption is lost on DB's that have TDE. 

    Thanks!


    Thanks in advance! ChrisRDBA

    unable to start sql server agent

    $
    0
    0

    Hi All,

    I am not able to start sql server agent due below issue.

    please help me on this, it's very urgent.

    2016-09-08 08:46:09 - ? [100] Microsoft SQLServerAgent version 12.0.4449.0 (X64 unicode retail build) : Process ID 8596
    2016-09-08 08:46:09 - ? [495] The SQL Server Agent startup service account is 'loginname'.
    2016-09-08 08:46:09 - ! [150] SQL Server does not accept the connection (error: 817). Waiting for Sql Server to allow connections. Operation attempted was: Verify Connection On Start.
    2016-09-08 08:46:09 - ! [000] Unable to connect to server '(local)'; SQLServerAgent cannot start
    2016-09-08 08:46:09 - ! [298] SQLServer Error: 21, Encryption not supported on the client. [SQLSTATE 08001]
    2016-09-08 08:46:09 - ! [298] SQLServer Error: 817, SSL Provider: The client and server cannot communicate, because they do not possess a common algorithm. [SQLSTATE 08001]
    2016-09-08 08:46:09 - ! [298] SQLServer Error: 21, Client unable to establish connection [SQLSTATE 08001]
    2016-09-08 08:46:09 - ! [298] SQLServer Error: 817, A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online. [SQLSTATE 08001]
    2016-09-08 08:46:09 - ! [382] Logon to server '(local)' failed (DisableAgentXPs)
    2016-09-08 08:46:09 - ? [098] SQLServerAgent terminated (normally)


    mastanvali shaik

    sp_sqlagent_has_server_access runs 10-15 seconds

    $
    0
    0

    I'm not sure what this even does, but on one of our servers it's showing up in my performance trace reports as taking 10-15 seconds to run, about 130 times a day.  What does it mean that it's so slow?  It just does a few hundred reads and under 100ms of cpu time.

    Thanks,

    Josh

    EXECUTE msdb.dbo.sp_sqlagent_has_server_access @login_name = @P1, @job_id = @P2

    ps

    It's actually xp_loginfo that it calls, statement:

    insert #nt select distinct domain+N'\'+name, sid, sidtype
       from OpenRowset(TABLE NETUSERGETGROUPS, @acctname)

    Server maintenance

    $
    0
    0

    Hi We used to perform the server and database maintenance in the weekend but users start using the

    server in weekend also. I need to avoid the downtime of the server while the maintenance it may

    cause the server reboot. How to handle this situation.


    Performance issue and difference between Fact table partition and Multiple fact tables

    $
    0
    0

    Hi,

    I am facing performance issue in our data warehouse due to large number if rows.

    We have single fact table(5 years of data) with ~100 million rows and 10 dimensions.On every load, we replace latest 1 year data with new data(delete & insert). The average time taken for deleting 1 year record is 1 hour, these is no index created on the table, more over there an SSAS solution build on top of this data warehouse  with single partition, and the cube processing time is 2 hours. 

    To improve overall process, i have planned to partition the Fact table and SSAS cube based on year. I will create 2 partition(

    First: latest 2 years

    Second: More than 2 years). On every load, First partition will get refreshed and once in an year i have to move one year data to Second partition and full process the cube.

    So here my questions,

    1)Whether the above method will help to improve the performance?

    2)Whether i have to create 2 Fact table(First & Second)  or create 2 partitions on the single fact table?  Which is best?

     

    SQL SERVER 2012 Installed to SMB share Error 59 (An unexpected network error occurred)

    $
    0
    0

    I have installed SQL 2012 on a clustered file share. When I try to add space to extend the log file for a database I get the following error

    Msg 5149, Level 16, State 3, Line 1
    MODIFY FILE encountered operating system error 59(An unexpected network error occurred.) while attempting to expand the physical file '\\server\share\path to ldf file.ldf'

    The SQL service is running under a local domain account that does not have administrator rights to the system.  The service account does have full disk and share permissions and the service starts without any problems.  I have applied all the cluster hotfixes and all the current Windows Updates.  If I log into the system as the SQL service domain user account I can access the share and have full rights to it.

    Any help would be appreciated.

    Thanks,


    DBCC Memorystatus dump - what is the issue here as the server is in meltdown due to memory pressure

    $
    0
    0

    Hi All,

    The server in question is x64, it has CLR in use and I am seeing memory pressure info in the logs. Any ideas from anyone please, and is there a guide on analyzing DBCC memorystatus ?

    Server has 8 cores, 32GB of RAM of which Max sql memory  = 28GB.

    Process/System Counts                    Value
    ---------------------------------------- --------------------
    Available Physical Memory                1967824896
    Available Virtual Memory                 140656336060416
    Available Paging File                    8532058112
    Working Set                              790757376
    Percent of Committed Memory in WS        98
    Page Faults                              123254046
    System physical memory high              1
    System physical memory low               0
    Process physical memory low              1
    Process virtual memory low               0
    
    (10 row(s) affected)
    
    Memory Manager                           KB
    ---------------------------------------- -----------
    VM Reserved                              78787552
    VM Committed                             1094540
    Locked Pages Allocated                   27087292
    Large Pages Allocated                    0
    Emergency Memory                         1024
    Emergency Memory In Use                  232
    Target Committed                         29054000
    Current Committed                        28181832
    Pages Allocated                          26529144
    Pages Reserved                           0
    Pages Free                               5440
    Pages In Use                             25493704
    Page Alloc Potential                     2398424
    NUMA Growth Phase                        0
    Last OOM Factor                          6
    Last OS Error                            0
    
    (16 row(s) affected)
    
    Memory node Id = 0                       KB
    ---------------------------------------- -----------
    VM Reserved                              78787488
    VM Committed                             1094520
    Locked Pages Allocated                   27087292
    Pages Allocated                          26529144
    Pages Free                               5440
    Target Committed                         29053976
    Current Committed                        28181816
    Foreign Committed                        0
    Away Committed                           0
    Taken Away Committed                     0
    
    (10 row(s) affected)
    
    Memory node Id = 64                      KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             20
    Locked Pages Allocated                   0
    
    (3 row(s) affected)
    
    MEMORYCLERK_SQLGENERAL (node 0)          KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          260376
    
    (6 row(s) affected)
    
    MEMORYCLERK_SQLBUFFERPOOL (node 0)       KB
    ---------------------------------------- -----------
    VM Reserved                              12999744
    VM Committed                             65536
    Locked Pages Allocated                   532924
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          2683704
    
    (6 row(s) affected)
    
    MEMORYCLERK_SQLQUERYEXEC (node 0)        KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          832
    
    (6 row(s) affected)
    
    MEMORYCLERK_SQLOPTIMIZER (node 0)        KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          2544
    
    (6 row(s) affected)
    
    MEMORYCLERK_SQLUTILITIES (node 0)        KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          19184
    
    (6 row(s) affected)
    
    MEMORYCLERK_SQLSTORENG (node 0)          KB
    ---------------------------------------- -----------
    VM Reserved                              389440
    VM Committed                             389440
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          636904
    
    (6 row(s) affected)
    
    MEMORYCLERK_SQLCONNECTIONPOOL (node 0)   KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          5968
    
    (6 row(s) affected)
    
    MEMORYCLERK_SQLCLR (node 0)              KB
    ---------------------------------------- -----------
    VM Reserved                              6300736
    VM Committed                             314884
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          23032
    
    (6 row(s) affected)
    
    MEMORYCLERK_SQLSERVICEBROKER (node 0)    KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          48960
    
    (6 row(s) affected)
    
    MEMORYCLERK_SQLHTTP (node 0)             KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          8
    
    (6 row(s) affected)
    
    MEMORYCLERK_SNI (node 0)                 KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          952
    
    (6 row(s) affected)
    
    MEMORYCLERK_SNI (node 64)                KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          16
    
    (6 row(s) affected)
    
    MEMORYCLERK_SNI (Total)                  KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          968
    
    (6 row(s) affected)
    
    MEMORYCLERK_FULLTEXT (node 0)            KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          296
    
    (6 row(s) affected)
    
    MEMORYCLERK_SQLXP (node 0)               KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          16
    
    (6 row(s) affected)
    
    MEMORYCLERK_BHF (node 0)                 KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          288
    
    (6 row(s) affected)
    
    MEMORYCLERK_XE_BUFFER (node 0)           KB
    ---------------------------------------- -----------
    VM Reserved                              4608
    VM Committed                             4608
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          0
    
    (6 row(s) affected)
    
    MEMORYCLERK_XTP (node 0)                 KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          16
    
    (6 row(s) affected)
    
    MEMORYCLERK_HOST (node 0)                KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          24
    
    (6 row(s) affected)
    
    MEMORYCLERK_SOSNODE (node 0)             KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          310192
    
    (6 row(s) affected)
    
    MEMORYCLERK_SOSNODE (node 64)            KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          2488
    
    (6 row(s) affected)
    
    MEMORYCLERK_SOSNODE (Total)              KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          312680
    
    (6 row(s) affected)
    
    MEMORYCLERK_SOSOS (node 0)               KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          192
    
    (6 row(s) affected)
    
    MEMORYCLERK_SOSMEMMANAGER (node 0)       KB
    ---------------------------------------- -----------
    VM Reserved                              206272
    VM Committed                             186368
    Locked Pages Allocated                   19784
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          0
    
    (6 row(s) affected)
    
    MEMORYCLERK_SQLSERVICEBROKERTRANSPORT (node 0) KB
    ---------------------------------------------- -----------
    VM Reserved                                    0
    VM Committed                                   0
    Locked Pages Allocated                         0
    SM Reserved                                    0
    SM Committed                                   0
    Pages Allocated                                192
    
    (6 row(s) affected)
    
    MEMORYCLERK_FILETABLE (node 0)           KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          16
    
    (6 row(s) affected)
    
    MEMORYCLERK_XE (node 0)                  KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          6624
    
    (6 row(s) affected)
    
    MEMORYCLERK_SQLLOGPOOL (node 0)          KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          4184
    
    (6 row(s) affected)
    
    MEMORYCLERK_LWC (node 0)                 KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          64
    
    (6 row(s) affected)
    
    MEMORYCLERK_FSCHUNKER (node 0)           KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          272
    
    (6 row(s) affected)
    
    CACHESTORE_OBJCP (node 0)                KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          713360
    
    (6 row(s) affected)
    
    CACHESTORE_SQLCP (node 0)                KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          2330536
    
    (6 row(s) affected)
    
    CACHESTORE_PHDR (node 0)                 KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          1039016
    
    (6 row(s) affected)
    
    CACHESTORE_XPROC (node 0)                KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          120
    
    (6 row(s) affected)
    
    CACHESTORE_TEMPTABLES (node 0)           KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          24
    
    (6 row(s) affected)
    
    CACHESTORE_NOTIF (node 0)                KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          16
    
    (6 row(s) affected)
    
    CACHESTORE_VIEWDEFINITIONS (node 0)      KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          16
    
    (6 row(s) affected)
    
    CACHESTORE_XMLDBTYPE (node 0)            KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          8
    
    (6 row(s) affected)
    
    CACHESTORE_XMLDBELEMENT (node 0)         KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          8
    
    (6 row(s) affected)
    
    CACHESTORE_XMLDBATTRIBUTE (node 0)       KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          8
    
    (6 row(s) affected)
    
    CACHESTORE_STACKFRAMES (node 0)          KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          8
    
    (6 row(s) affected)
    
    CACHESTORE_STACKFRAMES (node 64)         KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          8
    
    (6 row(s) affected)
    
    CACHESTORE_STACKFRAMES (Total)           KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          16
    
    (6 row(s) affected)
    
    CACHESTORE_BROKERTBLACS (node 0)         KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          544
    
    (6 row(s) affected)
    
    CACHESTORE_BROKERKEK (node 0)            KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          8
    
    (6 row(s) affected)
    
    CACHESTORE_BROKERDSH (node 0)            KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          8
    
    (6 row(s) affected)
    
    CACHESTORE_BROKERUSERCERTLOOKUP (node 0) KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          8
    
    (6 row(s) affected)
    
    CACHESTORE_BROKERRSB (node 0)            KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          8
    
    (6 row(s) affected)
    
    CACHESTORE_BROKERREADONLY (node 0)       KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          32
    
    (6 row(s) affected)
    
    CACHESTORE_BROKERTO (node 0)             KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          8
    
    (6 row(s) affected)
    
    CACHESTORE_EVENTS (node 0)               KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          16
    
    (6 row(s) affected)
    
    CACHESTORE_SEHOBTCOLUMNATTRIBUTE (node 0) KB
    ----------------------------------------- -----------
    VM Reserved                               0
    VM Committed                              0
    Locked Pages Allocated                    0
    SM Reserved                               0
    SM Committed                              0
    Pages Allocated                           11336
    
    (6 row(s) affected)
    
    CACHESTORE_SYSTEMROWSET (node 0)         KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          273424
    
    (6 row(s) affected)
    
    CACHESTORE_CONVPRI (node 0)              KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          1040
    
    (6 row(s) affected)
    
    CACHESTORE_FULLTEXTSTOPLIST (node 0)     KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          32
    
    (6 row(s) affected)
    
    CACHESTORE_SEARCHPROPERTYLIST (node 0)   KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          16
    
    (6 row(s) affected)
    
    CACHESTORE_COLUMNSTOREOBJECTPOOL (node 0) KB
    ----------------------------------------- -----------
    VM Reserved                               0
    VM Committed                              0
    Locked Pages Allocated                    0
    SM Reserved                               0
    SM Committed                              0
    Pages Allocated                           64
    
    (6 row(s) affected)
    
    CACHESTORE_XML_SELECTIVE_DG (node 0)     KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          8
    
    (6 row(s) affected)
    
    USERSTORE_SCHEMAMGR (node 0)             KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          283552
    
    (6 row(s) affected)
    
    USERSTORE_DBMETADATA (node 0)            KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          92048
    
    (6 row(s) affected)
    
    USERSTORE_TOKENPERM (node 0)             KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          135608
    
    (6 row(s) affected)
    
    USERSTORE_OBJPERM (node 0)               KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          172304
    
    (6 row(s) affected)
    
    USERSTORE_SXC (node 0)                   KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          1704
    
    (6 row(s) affected)
    
    USERSTORE_SXC (node 64)                  KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          8
    
    (6 row(s) affected)
    
    USERSTORE_SXC (Total)                    KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          1712
    
    (6 row(s) affected)
    
    OBJECTSTORE_LBSS (node 0)                KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          440
    
    (6 row(s) affected)
    
    OBJECTSTORE_SNI_PACKET (node 0)          KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          7424
    
    (6 row(s) affected)
    
    OBJECTSTORE_SNI_PACKET (node 64)         KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          56
    
    (6 row(s) affected)
    
    OBJECTSTORE_SNI_PACKET (Total)           KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          7480
    
    (6 row(s) affected)
    
    OBJECTSTORE_SERVICE_BROKER (node 0)      KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          496
    
    (6 row(s) affected)
    
    OBJECTSTORE_LOCK_MANAGER (node 0)        KB
    ---------------------------------------- -----------
    VM Reserved                              131072
    VM Committed                             131072
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          17412672
    
    (6 row(s) affected)
    
    OBJECTSTORE_LOCK_MANAGER (node 64)       KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          24
    
    (6 row(s) affected)
    
    OBJECTSTORE_LOCK_MANAGER (Total)         KB
    ---------------------------------------- -----------
    VM Reserved                              131072
    VM Committed                             131072
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          17412696
    
    (6 row(s) affected)
    
    OBJECTSTORE_SECAUDIT_EVENT_BUFFER (node 0) KB
    ------------------------------------------ -----------
    VM Reserved                                0
    VM Committed                               0
    Locked Pages Allocated                     0
    SM Reserved                                0
    SM Committed                               0
    Pages Allocated                            16
    
    (6 row(s) affected)
    
    OBJECTSTORE_XACT_CACHE (node 0)          KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          856
    
    (6 row(s) affected)
    
    OBJECTSTORE_XACT_CACHE (node 64)         KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          16
    
    (6 row(s) affected)
    
    OBJECTSTORE_XACT_CACHE (Total)           KB
    ---------------------------------------- -----------
    VM Reserved                              0
    VM Committed                             0
    Locked Pages Allocated                   0
    SM Reserved                              0
    SM Committed                             0
    Pages Allocated                          872
    
    (6 row(s) affected)
    
    Buffer Pool                              Value
    ---------------------------------------- -----------
    Database                                 335328
    Simulated                                78553
    Target                                   65503232
    Dirty                                    193636
    In IO                                    0
    Latched                                  0
    Page Life Expectancy                     654
    
    (7 row(s) affected)
    
    Procedure Cache                          Value
    ---------------------------------------- -----------
    TotalProcs                               33485
    TotalPages                               510379
    InUsePages                               23
    
    (3 row(s) affected)
    
    Global Memory Objects                    Pages
    ---------------------------------------- -----------
    Resource                                 18467
    Locks                                    2176587
    XDES                                     516
    DirtyPageTracking                        8
    SETLS                                    8
    SubpDesc Allocators                      8
    SE SchemaManager                         12482
    SE Column Metadata Cache                 22648
    SE Column Metadata Cache Store           155
    SQLCache                                 1403
    Replication                              6
    ServerGlobal                             52
    XP Global                                2
    SortTables                               3
    
    (14 row(s) affected)
    
    Query Memory Objects (internal)          Value
    ---------------------------------------- -----------
    Grants                                   0
    Waiting                                  0
    Available                                401466
    Current Max                              401466
    Future Max                               401466
    Physical Max                             2745231
    Next Request                             0
    Waiting For                              0
    Cost                                     0
    Timeout                                  0
    Wait Time                                0
    
    (11 row(s) affected)
    
    Small Query Memory Objects (internal)    Value
    ---------------------------------------- -----------
    Grants                                   0
    Waiting                                  0
    Available                                21129
    Current Max                              21129
    Future Max                               21129
    
    (5 row(s) affected)
    
    Remote Query Memory Objects (internal)   Value
    ---------------------------------------- -----------
    Grants                                   0
    Waiting                                  0
    Available                                1372615
    Current Max                              1372615
    
    (4 row(s) affected)
    
    Optimization Queue (internal)            Value
    ---------------------------------------- --------------------
    Overall Memory                           24172920832
    Target Memory                            1030840320
    Last Notification                        2
    Timeout                                  6
    Early Termination Factor                 5
    
    (5 row(s) affected)
    
    Small Gateway (internal)                 Value
    ---------------------------------------- -----------
    Configured Units                         32
    Available Units                          32
    Acquires                                 0
    Waiters                                  0
    Threshold Factor                         380000
    Threshold                                380000
    
    (6 row(s) affected)
    
    Medium Gateway (internal)                Value
    ---------------------------------------- -----------
    Configured Units                         8
    Available Units                          8
    Acquires                                 0
    Waiters                                  0
    Threshold Factor                         12
    Threshold                                -1
    
    (6 row(s) affected)
    
    Big Gateway (internal)                   Value
    ---------------------------------------- -----------
    Configured Units                         1
    Available Units                          1
    Acquires                                 0
    Waiters                                  0
    Threshold Factor                         8
    Threshold                                -1
    
    (6 row(s) affected)
    
    Memory Pool Manager                      Pages
    ---------------------------------------- -----------
    Reserved Current                         0
    Reserved Limit                           450782
    
    (2 row(s) affected)
    
    Memory Pool (internal)                   Pages
    ---------------------------------------- -----------
    Allocations                              3180968
    Predicted                                3867275
    Private Target                           0
    Private Limit                            0
    Total Target                             3631750
    Total Limit                              3670016
    OOM Count                                0
    
    (7 row(s) affected)
    
    MEMORYBROKER_FOR_CACHE (internal)        Pages
    ---------------------------------------- -----------
    Allocations                              2810141
    Rate                                     -2
    Target Allocations                       2144184
    Future Allocations                       0
    Overall                                  2950796
    Last Notification                        2
    
    (6 row(s) affected)
    
    MEMORYBROKER_FOR_STEAL (internal)        Pages
    ---------------------------------------- -----------
    Allocations                              164919
    Rate                                     0
    Target Allocations                       125835
    Future Allocations                       0
    Overall                                  2950796
    Last Notification                        2
    
    (6 row(s) affected)
    
    MEMORYBROKER_FOR_RESERVE (internal)      Pages
    ---------------------------------------- -----------
    Allocations                              0
    Rate                                     0
    Target Allocations                       450782
    Future Allocations                       686307
    Overall                                  2950796
    Last Notification                        0
    
    (6 row(s) affected)
    
    MEMORYBROKER_FOR_COMMITTED (internal)    Pages
    ---------------------------------------- -----------
    Allocations                              205906
    Rate                                     0
    Target Allocations                       157109
    Future Allocations                       0
    Overall                                  2950796
    Last Notification                        2
    
    (6 row(s) affected)
    
    MEMORYBROKER_FOR_XTP (internal)          Pages
    ---------------------------------------- -----------
    Allocations                              2
    Rate                                     0
    Target Allocations                       92212
    Future Allocations                       0
    Overall                                  2950796
    Last Notification                        0
    
    (6 row(s) affected)
    
    Memory Broker Clerk (Buffer Pool)        Pages
    ---------------------------------------- ----------------------
    Total                                    335328
    Simulated                                78553
    Simulation Benefit                       0
    Internal Benefit                         0
    External Benefit                         0
    Value Of Memory                          0
    Periodic Freed                           0
    Internal Freed                           0
    
    (8 row(s) affected)
    
    DBCC execution completed. If DBCC printed error messages, contact your system administrator.
    

    Trace Definition For Backups

    $
    0
    0

    Hello Forum

    I keep getting a failed backup message for a database every night around midnight; however there is no SQL Server Agent Job that is performing Backups at this time; furthermore when I look at the Backup Report these backup failures are not logged.

    I therefore need to set up a trace to try and capture what is happening here, does anyone have any ideas?

    Extra info; the database is in simple mode, it is backed up every night at 22:00 using RedGate and the backup takes approx., 40 minutes


    Please click "Mark As Answer" if my post helped. Tony C.


    Searching Russian characters or cyrillic characters in a sql server table

    $
    0
    0

    Hello All,

    I have a SQL Server table which stores all the data across the world. But i want to retrieve only russian characters from table specifically.

    I tried below query  but this is returning all NON ENGLISH data.

    select * from tablename where column like '%[^-A-Za-z0-9 /.+$]%' 

    Is there a way to get only russian characters.

    Thanks in advance.

    SQL 2016 STD - c0000005 EXCEPTION_ACCESS_VIOLATION

    $
    0
    0

    On a new install of SQL2016STD to host an ERP application, we just started seeing the error "c0000005 EXCEPTION_ACCESS_VIOLATION".

    I'm unable to determine what is the root-cause of this.

    SQL was initially setup to run under the default "NT Service\MSSQLServer" account. I changed it to use a group managed service account (gMSA). We since switched back to using the default account, but errors still happen - every 15 minutes a new dump error log is created.

    How best to approach this to find the root cause?

    Excerpt from the log:
    2016-09-10 13:04:16.57 spid45s     SqlDumpExceptionHandler: Process 45 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.
    2016-09-10 13:04:16.57 spid45s     * *******************************************************************************
    2016-09-10 13:04:16.57 spid45s     *
    2016-09-10 13:04:16.57 spid45s     * BEGIN STACK DUMP:
    2016-09-10 13:04:16.57 spid45s     *   09/10/16 13:04:16 spid 45
    2016-09-10 13:04:16.57 spid45s     *
    2016-09-10 13:04:16.57 spid45s     *
    2016-09-10 13:04:16.57 spid45s     *   Exception Address = 00007FFEBF142822 Module(sqlmin+0000000000042822)
    2016-09-10 13:04:16.57 spid45s     *   Exception Code    = c0000005 EXCEPTION_ACCESS_VIOLATION
    2016-09-10 13:04:16.57 spid45s     *   Access Violation occurred reading address 0000000000000948
    2016-09-10 13:04:16.57 spid45s     *  
    2016-09-10 13:04:16.57 spid45s     *
    2016-09-10 13:04:16.57 spid45s     *  MODULE                          BASE      END       SIZE
    2016-09-10 13:04:16.57 spid45s     * sqlservr                       00007FF7ABCE0000  00007FF7ABD47FFF  00068000
    2016-09-10 13:04:16.57 spid45s     * ntdll                          00007FFECD3B0000  00007FFECD55CFFF  001ad000
    2016-09-10 13:04:16.57 spid45s     * KERNEL32                       00007FFECD020000  00007FFECD15DFFF  0013e000
    2016-09-10 13:04:16.57 spid45s     * KERNELBASE                     00007FFECA920000  00007FFECAA34FFF  00115000
    2016-09-10 13:04:16.57 spid45s     * NETAPI32                       00007FFEC7E40000  00007FFEC7E55FFF  00016000
    2016-09-10 13:04:16.57 spid45s     * pdh                            00007FFEC1590000  00007FFEC15DEFFF  0004f000
    2016-09-10 13:04:16.57 spid45s     * ADVAPI32                       00007FFECD300000  00007FFECD3A9FFF  000aa000
    2016-09-10 13:04:16.57 spid45s     * ole32                          00007FFECB420000  00007FFECB5B3FFF  00194000
    2016-09-10 13:04:16.57 spid45s     * SQLOS                          00007FFEC4FA0000  00007FFEC4FA6FFF  00007000
    2016-09-10 13:04:16.57 spid45s     * sqlmin                         00007FFEBF100000  00007FFEC158AFFF  0248b000
    2016-09-10 13:04:16.57 spid45s     * sqllang                        00007FFEBCB60000  00007FFEBF0F2FFF  02593000
    2016-09-10 13:04:16.57 spid45s     * sqlTsEs                        00007FFEBBA20000  00007FFEBC2AAFFF  0088b000
    2016-09-10 13:04:16.57 spid45s     * sqldk                          00007FFEBB550000  00007FFEBBA16FFF  004c7000
    2016-09-10 13:04:16.57 spid45s     * opends60                       00007FFEC4F90000  00007FFEC4F98FFF  00009000
    2016-09-10 13:04:16.57 spid45s     * qds                            00007FFEC4EB0000  00007FFEC4F8BFFF  000dc000
    2016-09-10 13:04:16.57 spid45s     * MSVCP120                       00007FFEC1BA0000  00007FFEC1C45FFF  000a6000
    2016-09-10 13:04:16.57 spid45s     * MSVCR120                       00007FFEC1C50000  00007FFEC1D3EFFF  000ef000
    2016-09-10 13:04:16.57 spid45s     * netutils                       00007FFEC8C00000  00007FFEC8C0BFFF  0000c000
    2016-09-10 13:04:16.57 spid45s     * srvcli                         00007FFECA0F0000  00007FFECA115FFF  00026000
    2016-09-10 13:04:16.57 spid45s     * wkscli                         00007FFEC8E10000  00007FFEC8E26FFF  00017000
    2016-09-10 13:04:16.57 spid45s     * msvcrt                         00007FFECB370000  00007FFECB419FFF  000aa000
    2016-09-10 13:04:16.57 spid45s     * RPCRT4                         00007FFECCEE0000  00007FFECD01FFFF  00140000
    2016-09-10 13:04:16.57 spid45s     * sechost                        00007FFECD2A0000  00007FFECD2F8FFF  00059000
    2016-09-10 13:04:16.57 spid45s     * combase                        00007FFECAF50000  00007FFECB160FFF  00211000
    2016-09-10 13:04:16.57 spid45s     * GDI32                          00007FFECCD90000  00007FFECCEDEFFF  0014f000
    2016-09-10 13:04:16.57 spid45s     * USER32                         00007FFECB5D0000  00007FFECB746FFF  00177000
    2016-09-10 13:04:16.57 spid45s     * CRYPT32                        00007FFECA5B0000  00007FFECA78EFFF  001df000
    2016-09-10 13:04:16.57 spid45s     * Secur32                        00007FFEC5CF0000  00007FFEC5CFBFFF  0000c000
    2016-09-10 13:04:16.57 spid45s     * WS2_32                         00007FFECCD30000  00007FFECCD89FFF  0005a000
    2016-09-10 13:04:16.57 spid45s     * WINHTTP                        00007FFEC5430000  00007FFEC54F6FFF  000c7000
    2016-09-10 13:04:16.57 spid45s     * bcrypt                         00007FFEC9FD0000  00007FFEC9FF5FFF  00026000
    2016-09-10 13:04:16.57 spid45s     * OLEAUT32                       00007FFECAB00000  00007FFECABC0FFF  000c1000
    2016-09-10 13:04:16.57 spid45s     * ODBC32                         00007FFEC16F0000  00007FFEC17B1FFF  000c2000
    2016-09-10 13:04:16.57 spid45s     * USERENV                        00007FFEC9AB0000  00007FFEC9AD0FFF  00021000
    2016-09-10 13:04:16.57 spid45s     * AUTHZ                          00007FFEC97B0000  00007FFEC97F7FFF  00048000
    2016-09-10 13:04:16.57 spid45s     * WINTRUST                       00007FFECA890000  00007FFECA8E0FFF  00051000
    2016-09-10 13:04:16.58 spid45s     * XmlLite                        00007FFEC6550000  00007FFEC6588FFF  00039000
    2016-09-10 13:04:16.58 spid45s     * dhcpcsvc                       00007FFEC6C10000  00007FFEC6C29FFF  0001a000
    2016-09-10 13:04:16.58 spid45s     * WINMM                          00007FFEBB430000  00007FFEBB451FFF  00022000
    2016-09-10 13:04:16.58 spid45s     * SspiCli                        00007FFECA8F0000  00007FFECA91DFFF  0002e000
    2016-09-10 13:04:16.58 spid45s     * MSASN1                         00007FFECA590000  00007FFECA5A0FFF  00011000
    2016-09-10 13:04:16.58 spid45s     * NSI                            00007FFECD160000  00007FFECD168FFF  00009000
    2016-09-10 13:04:16.58 spid45s     * profapi                        00007FFECA4E0000  00007FFECA4F4FFF  00015000
    2016-09-10 13:04:16.58 spid45s     * WINMMBASE                      00007FFEBAA70000  00007FFEBAA99FFF  0002a000
    2016-09-10 13:04:16.58 spid45s     * LOGONCLI                       00007FFEC9AE0000  00007FFEC9B1EFFF  0003f000
    2016-09-10 13:04:16.58 spid45s     * cfgmgr32                       00007FFECA840000  00007FFECA88EFFF  0004f000
    2016-09-10 13:04:16.58 spid45s     * DEVOBJ                         00007FFEC9370000  00007FFEC9397FFF  00028000
    2016-09-10 13:04:16.58 spid45s     * SAMCLI                         00007FFEC5500000  00007FFEC5516FFF  00017000
    2016-09-10 13:04:16.58 spid45s     * psapi                          00007FFECABD0000  00007FFECABD6FFF  00007000
    2016-09-10 13:04:16.58 spid45s     * kernel.appcore                 00007FFEC91E0000  00007FFEC91EAFFF  0000b000
    2016-09-10 13:04:16.58 spid45s     * CRYPTBASE                      00007FFECA450000  00007FFECA45AFFF  0000b000
    2016-09-10 13:04:16.58 spid45s     * bcryptPrimitives               00007FFECA2E0000  00007FFECA342FFF  00063000
    2016-09-10 13:04:16.58 spid45s     * instapi130                     00007FFEC1610000  00007FFEC161FFFF  00010000
    2016-09-10 13:04:16.58 spid45s     * CRYPTSP                        00007FFEC9D80000  00007FFEC9D9FFFF  00020000
    2016-09-10 13:04:16.58 spid45s     * rsaenh                         00007FFEC99C0000  00007FFEC99F5FFF  00036000
    2016-09-10 13:04:16.58 spid45s     * imagehlp                       00007FFECB170000  00007FFECB185FFF  00016000
    2016-09-10 13:04:16.58 spid45s     * ncrypt                         00007FFEC9FA0000  00007FFEC9FC4FFF  00025000
    2016-09-10 13:04:16.58 spid45s     * NTASN1                         00007FFEC9F60000  00007FFEC9F96FFF  00037000
    2016-09-10 13:04:16.58 spid45s     * gpapi                          00007FFEC9700000  00007FFEC9723FFF  00024000
    2016-09-10 13:04:16.58 spid45s     * cscapi                         00007FFEBA520000  00007FFEBA531FFF  00012000
    2016-09-10 13:04:16.58 spid45s     * sqlevn70                       00007FFEBA230000  00007FFEBA51CFFF  002ed000
    2016-09-10 13:04:16.58 spid45s     * CLUSAPI                        00007FFEB9B40000  00007FFEB9BADFFF  0006e000
    2016-09-10 13:04:16.58 spid45s     * cryptdll                       00007FFEC9EA0000  00007FFEC9EB9FFF  0001a000
    2016-09-10 13:04:16.58 spid45s     * RESUTILS                       00007FFEB9AF0000  00007FFEB9B3BFFF  0004c000
    2016-09-10 13:04:16.58 spid45s     * VERSION                        00007FFEC58E0000  00007FFEC58E9FFF  0000a000
    2016-09-10 13:04:16.58 spid45s     * msv1_0                         00007FFEC9CB0000  00007FFEC9D1DFFF  0006e000
    2016-09-10 13:04:16.58 spid45s     * kerberos                       00007FFEC9DA0000  00007FFEC9E97FFF  000f8000
    2016-09-10 13:04:16.58 spid45s     * schannel                       00007FFEC9950000  00007FFEC99BCFFF  0006d000
    2016-09-10 13:04:16.58 spid45s     * MSCOREE                        00007FFEC4980000  00007FFEC49E3FFF  00064000
    2016-09-10 13:04:16.58 spid45s     * mscoreei                       00007FFEC48E0000  00007FFEC4977FFF  00098000
    2016-09-10 13:04:16.58 spid45s     * SqlServerSpatial130            00007FFEBB490000  00007FFEBB541FFF  000b2000
    2016-09-10 13:04:16.58 spid45s     * security                       00007FFEB8020000  00007FFEB8022FFF  00003000
    2016-09-10 13:04:16.58 spid45s     * ualapi                         00007FFEC5D30000  00007FFEC5D48FFF  00019000
    2016-09-10 13:04:16.58 spid45s     * ESENT                          00007FFEC5A20000  00007FFEC5CEAFFF  002cb000
    2016-09-10 13:04:16.58 spid45s     * ntmarta                        00007FFEC6430000  00007FFEC6461FFF  00032000
    2016-09-10 13:04:16.58 spid45s     * SHELL32                        00007FFECB7C0000  00007FFECCCE8FFF  01529000
    2016-09-10 13:04:16.58 spid45s     * SHLWAPI                        00007FFECABE0000  00007FFECAC33FFF  00054000
    2016-09-10 13:04:16.58 spid45s     * clbcatq                        00007FFECD170000  00007FFECD225FFF  000b6000
    2016-09-10 13:04:16.58 spid45s     * sqlncli11                      00007FFEB77A0000  00007FFEB7AF2FFF  00353000
    2016-09-10 13:04:16.58 spid45s     * MSVCR100                       0000000058C30000  0000000058D01FFF  000d2000
    2016-09-10 13:04:16.58 spid45s     * COMCTL32                       00007FFEB81D0000  00007FFEB8273FFF  000a4000
    2016-09-10 13:04:16.58 spid45s     * COMDLG32                       00007FFECAA40000  00007FFECAAF5FFF  000b6000
    2016-09-10 13:04:16.58 spid45s     * SHCORE                         00007FFEC8E30000  00007FFEC8EE1FFF  000b2000
    2016-09-10 13:04:16.58 spid45s     * SQLNCLIR11                     0000000058BF0000  0000000058C27FFF  00038000
    2016-09-10 13:04:16.58 spid45s     * DPAPI                          00007FFEC91C0000  00007FFEC91C9FFF  0000a000
    2016-09-10 13:04:16.58 spid45s     * netbios                        00007FFEC4EA0000  00007FFEC4EAAFFF  0000b000
    2016-09-10 13:04:16.58 spid45s     * sqlnclirda11                   0000000058890000  0000000058BE8FFF  00359000
    2016-09-10 13:04:16.58 spid45s     * SQLNCLIRDAR11                  0000000058850000  0000000058887FFF  00038000
    2016-09-10 13:04:16.58 spid45s     * clr                            00007FFEC3F80000  00007FFEC48DBFFF  0095c000
    2016-09-10 13:04:16.58 spid45s     * MSVCR120_CLR0400               00007FFEC3E80000  00007FFEC3F76FFF  000f7000
    2016-09-10 13:04:16.58 spid45s     * mscorlib.ni                    00007FFEC29E0000  00007FFEC3E77FFF  01498000
    2016-09-10 13:04:16.58 spid45s     * clrjit                         00007FFEB9D40000  00007FFEB9E44FFF  00105000
    2016-09-10 13:04:16.58 spid45s     * BatchParser                    00007FFEC4E70000  00007FFEC4E9BFFF  0002c000
    2016-09-10 13:04:16.58 spid45s     * mswsock                        00007FFEC9D20000  00007FFEC9D78FFF  00059000
    2016-09-10 13:04:16.58 spid45s     * ntdsapi                        00007FFEC7E60000  00007FFEC7E88FFF  00029000
    2016-09-10 13:04:16.58 spid45s     * DSPARSE                        00007FFEBA540000  00007FFEBA54CFFF  0000d000
    2016-09-10 13:04:16.58 spid45s     * DNSAPI                         00007FFEC9B20000  00007FFEC9BC3FFF  000a4000
    2016-09-10 13:04:16.58 spid45s     * rasadhlp                       00007FFEBA580000  00007FFEBA589FFF  0000a000
    2016-09-10 13:04:16.58 spid45s     * IPHLPAPI                       00007FFEC71D0000  00007FFEC71F9FFF  0002a000
    2016-09-10 13:04:16.58 spid45s     * WINNSI                         00007FFEC71C0000  00007FFEC71C9FFF  0000a000
    2016-09-10 13:04:16.58 spid45s     * fwpuclnt                       00007FFEC6EC0000  00007FFEC6F2AFFF  0006b000
    2016-09-10 13:04:16.58 spid45s     * ncryptsslp                     00007FFEB89D0000  00007FFEB89ECFFF  0001d000
    2016-09-10 13:04:16.58 spid45s     * xpsqlbot                       00007FFEB81C0000  00007FFEB81C7FFF  00008000
    2016-09-10 13:04:16.58 spid45s     * xpstar                         00007FFEB6070000  00007FFEB60D8FFF  00069000
    2016-09-10 13:04:16.58 spid45s     * SQLSCM                         00007FFEC17F0000  00007FFEC17FFFFF  00010000
    2016-09-10 13:04:16.58 spid45s     * xpstar                         00007FFEB7440000  00007FFEB744CFFF  0000d000
    2016-09-10 13:04:16.58 spid45s     * dbghelp                        00000000585A0000  0000000058735FFF  00196000
    2016-09-10 13:04:16.58 spid45s     *
    2016-09-10 13:04:16.58 spid45s     *     P1Home: 0000000000000000:  
    2016-09-10 13:04:16.58 spid45s     *     P2Home: 0000000000000001:  
    2016-09-10 13:04:16.58 spid45s     *     P3Home: 00007FFEC120AF80:  0000000000000000  0000000000000000  0000000000000000  0000000000000000  0000000000000000  0000000000000000  
    2016-09-10 13:04:16.58 spid45s     *     P4Home: 00007FFEBB5582B7:  0F00002038AA3D83  D7F7410002D2AB85  48000001F8BD2145  00C0249C8B48C68B  5F4170C483480000  5E5F5C415D415E41  
    2016-09-10 13:04:16.58 spid45s     *     P5Home: 000011BDD6F900C3:  
    2016-09-10 13:04:16.58 spid45s     *     P6Home: 0000000000000000:  
    2016-09-10 13:04:16.58 spid45s     * ContextFlags: 000000000010001F:  
    2016-09-10 13:04:16.58 spid45s     *      MxCsr: 0000000000001FA8:  
    2016-09-10 13:04:16.58 spid45s     *      SegCs: 0000000000000033:  
    2016-09-10 13:04:16.58 spid45s     *      SegDs: 000000000000002B:  
    2016-09-10 13:04:16.58 spid45s     *      SegEs: 000000000000002B:  
    2016-09-10 13:04:16.58 spid45s     *      SegFs: 0000000000000053:  
    2016-09-10 13:04:16.58 spid45s     *      SegGs: 000000000000002B:  
    2016-09-10 13:04:16.58 spid45s     *      SegSs: 000000000000002B:  
    2016-09-10 13:04:16.58 spid45s     *     EFlags: 0000000000010206:  
    2016-09-10 13:04:16.58 spid45s     *        Rax: 0000000000000000:  
    2016-09-10 13:04:16.58 spid45s     *        Rcx: 000000000000000B:  
    2016-09-10 13:04:16.58 spid45s     *        Rdx: 00007FFEBB762310:  0000000000000000  0000000000000000  0000000000000000  0000000000000000  0000000000000001  0000000000000000 
    2016-09-10 13:04:16.58 spid45s     *        Rbx: 00007FFEC120AF80:  0000000000000000  0000000000000000  0000000000000000  0000000000000000  0000000000000000  0000000000000000 
    2016-09-10 13:04:16.58 spid45s     *        Rsp: 0000005896954D50:  00000000008520DB  00007FFEBCB8763C  0000000200000001  00000005D942FDA0  0000000000989680  00007FFEBB5574B4 
    2016-09-10 13:04:16.58 spid45s     *        Rbp: 0000004BFC2E5290:  00007FFEC0BC6290  00007FFEC0BDBDB0  0001060000020602  0000000000000000  0000000000000000  2200000089000001 
    2016-09-10 13:04:16.58 spid45s     *        Rsi: 0000000000000000:  
    2016-09-10 13:04:16.58 spid45s     *        Rdi: 0000004C105A0800:  00007FFEC0BD4D58  0000000000000000  0000000000000000  0000000000000000  0000000000000000  0000000000000000 
    2016-09-10 13:04:16.58 spid45s     *         R8: 0000000000000000:  
    2016-09-10 13:04:16.58 spid45s     *         R9: 0000005896954FE8:  0000000000000000  FFFFFFFFFFFFFFFE  0000005896955030  0000005896955028  0000004C105A0800  0000D48BAC93840D 
    2016-09-10 13:04:16.58 spid45s     *        R10: 0000005896954E88:  0000000000000000  0000004BFC2E5290  0000004BFC903230  0000000000000001  0000000000000000  00007FFEBB762310 
    2016-09-10 13:04:16.58 spid45s     *        R11: 0000005896954EA0:  0000000000000001  0000000000000000  00007FFEBB762310  0000000000000000  0000004C105A0800  00007FFEBF148817 
    2016-09-10 13:04:16.58 spid45s     *        R12: 0000000000000000:  
    2016-09-10 13:04:16.58 spid45s     *        R13: 0000000000000000:  
    2016-09-10 13:04:16.58 spid45s     *        R14: 0000000000000040:  
    2016-09-10 13:04:16.58 spid45s     *        R15: 0000000000000000:  
    2016-09-10 13:04:16.58 spid45s     *        Rip: 00007FFEBF142822:  848900000948808B  FF85480000019024  00000708A7800774  05100FF2CD8B41FD  100F44F201A8CFDA  100FF201A8382105 
    2016-09-10 13:04:16.58 spid45s     * *******************************************************************************
    2016-09-10 13:04:16.58 spid45s     * -------------------------------------------------------------------------------
    2016-09-10 13:04:16.58 spid45s     * Short Stack Dump
    2016-09-10 13:04:16.59 spid45s     00007FFEBF142822 Module(sqlmin+0000000000042822)
    2016-09-10 13:04:16.59 spid45s     00007FFEBF148817 Module(sqlmin+0000000000048817)
    2016-09-10 13:04:16.59 spid45s     00007FFEBF13AFAB Module(sqlmin+000000000003AFAB)
    2016-09-10 13:04:16.60 spid45s     00007FFEBF13AE70 Module(sqlmin+000000000003AE70)
    2016-09-10 13:04:16.60 spid45s     00007FFEBCB71110 Module(sqllang+0000000000011110)
    2016-09-10 13:04:16.60 spid45s     00007FFEBCB71024 Module(sqllang+0000000000011024)
    2016-09-10 13:04:16.60 spid45s     00007FFEBCB74C37 Module(sqllang+0000000000014C37)
    2016-09-10 13:04:16.60 spid45s     00007FFEBCB74DF5 Module(sqllang+0000000000014DF5)
    2016-09-10 13:04:16.60 spid45s     00007FFEBCB7265A Module(sqllang+000000000001265A)
    2016-09-10 13:04:16.60 spid45s     00007FFEBCB720C3 Module(sqllang+00000000000120C3)
    2016-09-10 13:04:16.60 spid45s     00007FFEBCB717C4 Module(sqllang+00000000000117C4)
    2016-09-10 13:04:16.60 spid45s     00007FFEBDF6D68A Module(sqllang+000000000140D68A)
    2016-09-10 13:04:16.60 spid45s     00007FFEBDF66E37 Module(sqllang+0000000001406E37)
    2016-09-10 13:04:16.61 spid45s     00007FFEBDF6958D Module(sqllang+000000000140958D)
    2016-09-10 13:04:16.61 spid45s     00007FFEBD3A3695 Module(sqllang+0000000000843695)
    2016-09-10 13:04:16.61 spid45s     00007FFEBD38AA15 Module(sqllang+000000000082AA15)
    2016-09-10 13:04:16.61 spid45s     00007FFEBCB7265A Module(sqllang+000000000001265A)
    2016-09-10 13:04:16.61 spid45s     00007FFEBCB720C3 Module(sqllang+00000000000120C3)
    2016-09-10 13:04:16.61 spid45s     00007FFEBCB717C4 Module(sqllang+00000000000117C4)
    2016-09-10 13:04:16.61 spid45s     00007FFEBCD1733C Module(sqllang+00000000001B733C)
    2016-09-10 13:04:16.61 spid45s     00007FFEBDF8AC0C Module(sqllang+000000000142AC0C)
    2016-09-10 13:04:16.61 spid45s     00007FFEBD05ECAE Module(sqllang+00000000004FECAE)
    2016-09-10 13:04:16.61 spid45s     00007FFEBCC072F9 Module(sqllang+00000000000A72F9)
    2016-09-10 13:04:16.61 spid45s     00007FFEBCBFD82C Module(sqllang+000000000009D82C)
    2016-09-10 13:04:16.61 spid45s     00007FFEBCBFD127 Module(sqllang+000000000009D127)
    2016-09-10 13:04:16.61 spid45s     00007FFEBCBFC567 Module(sqllang+000000000009C567)
    2016-09-10 13:04:16.61 spid45s     00007FFEBCBE68F7 Module(sqllang+00000000000868F7)
    2016-09-10 13:04:16.61 spid45s     00007FFEBCC220F1 Module(sqllang+00000000000C20F1)
    2016-09-10 13:04:16.61 spid45s     00007FFEBCB9062C Module(sqllang+000000000003062C)
    2016-09-10 13:04:16.61 spid45s     00007FFEBCB8F59E Module(sqllang+000000000002F59E)
    2016-09-10 13:04:16.62 spid45s     00007FFEBCB8FA43 Module(sqllang+000000000002FA43)
    2016-09-10 13:04:16.62 spid45s     00007FFEBCB732B6 Module(sqllang+00000000000132B6)
    2016-09-10 13:04:16.62 spid45s     00007FFEBCB7167E Module(sqllang+000000000001167E)
    2016-09-10 13:04:16.62 spid45s     00007FFEBCD1733C Module(sqllang+00000000001B733C)
    2016-09-10 13:04:16.62 spid45s     00007FFEBCD3F732 Module(sqllang+00000000001DF732)
    2016-09-10 13:04:16.62 spid45s     00007FFEBCD3F2EA Module(sqllang+00000000001DF2EA)
    2016-09-10 13:04:16.62 spid45s     00007FFEBDBC0956 Module(sqllang+0000000001060956)
    2016-09-10 13:04:16.62 spid45s     00007FFEBDBC23B7 Module(sqllang+00000000010623B7)
    2016-09-10 13:04:16.62 spid45s     00007FFEBDBC28E4 Module(sqllang+00000000010628E4)
    2016-09-10 13:04:16.62 spid45s     00007FFEBDBC2A7A Module(sqllang+0000000001062A7A)
    2016-09-10 13:04:16.62 spid45s     00007FFEC4ED703A Module(qds+000000000002703A)
    2016-09-10 13:04:16.62 spid45s     00007FFEC4F0D681 Module(qds+000000000005D681)
    2016-09-10 13:04:16.62 spid45s     00007FFEC4F07C71 Module(qds+0000000000057C71)
    2016-09-10 13:04:16.62 spid45s     00007FFEC4ED588B Module(qds+000000000002588B)
    2016-09-10 13:04:16.62 spid45s     00007FFEC4ED51AE Module(qds+00000000000251AE)
    2016-09-10 13:04:16.62 spid45s     00007FFEC4EDD582 Module(qds+000000000002D582)
    2016-09-10 13:04:16.63 spid45s     00007FFEC4ED4EC2 Module(qds+0000000000024EC2)
    2016-09-10 13:04:16.63 spid45s     00007FFEBB5557FD Module(sqldk+00000000000057FD)
    2016-09-10 13:04:16.63 spid45s     00007FFEBB555555 Module(sqldk+0000000000005555)
    2016-09-10 13:04:16.63 spid45s     00007FFEBB55534D Module(sqldk+000000000000534D)
    2016-09-10 13:04:16.63 spid45s     00007FFEBB57AC98 Module(sqldk+000000000002AC98)
    2016-09-10 13:04:16.63 spid45s     00007FFEBB57AE80 Module(sqldk+000000000002AE80)
    2016-09-10 13:04:16.63 spid45s     00007FFEBB57AE09 Module(sqldk+000000000002AE09)
    2016-09-10 13:04:16.64 spid45s     00007FFEBB57B428 Module(sqldk+000000000002B428)
    2016-09-10 13:04:16.65 spid45s     00007FFECD0213D2 Module(KERNEL32+00000000000013D2)
    2016-09-10 13:04:16.65 spid45s     00007FFECD3C54E4 Module(ntdll+00000000000154E4)
    2016-09-10 13:04:16.65 spid45s     Stack Signature for the dump is 0x00000001432ED0F5
    2016-09-10 13:04:17.03 spid45s     External dump process return code 0x20000001.
    External dump process returned no errors.

    SQL Server 2000 database Overwrite

    $
    0
    0

    Hello All,

    I have 2 server (Prod & dev) both are SQL Server 2000 , I wanted to take backup of prod database and restore(Overwrite) to dev server database.

    Some applications are already connected to Dev database, i want to take script of all Logins , users & permissions of dev database before overwrite. After db restore done i need to run that script on restored (overwrited) database to avoid any access issue.

    I would appreciate if i can find the script for SQL server 2000.

    Reagards

    chetanV

    Viewing all 15889 articles
    Browse latest View live


    <script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>