Quantcast
Browsing all 15889 articles
Browse latest View live

Calculation of Percentile_Disc & Percentile_Cont functions

Hi,Can someone explain how are Percentile_Disc & Percentile_Cont functions compute a value?

View Article


Warning: Failure to calculate super-latch promotion threshold. appears in SQL...

We are running SQL Server 2008 R2 and have just applied Service Pack 2 to our QA environment.Today we noticed this message in the SQL Server log: Warning: Failure to calculate super-latch promotion...

View Article


wakslhwn.ldf. Verify that the file exists and that you can access it.

Hello,I am trying to install SQL Server 2008 R2 but I am getting an error:TITLE: Microsoft SQL Server 2008 R2 Setup ------------------------------ The following error has occurred: Source file not...

View Article

Connecting to SQL 2005 x64 using Management Studio on Windows 2008 x64 is...

I have a SQL 2005 x64 server that is running just fine. I have installed the SQL 2005 Management Studio on Windows 2008 x64 server and can connect to the SQL 2005 x64 server. But it takes almost a...

View Article

Table Partitioning with sliding window

Hi All,we planning to create partitioning on existing tables. The partitioning is on date column, there should be one partition for each year. Creating of new partitions should be automated, and also...

View Article


add-type -assemblyName System.IO.Stream is failing in powershell script

Hi all,I am trying to do some automation using powershell scripting. I have following code in my script:add-type -assemblyName System.IO.StreamI also have this: add-type -assemblyName System add-type...

View Article

Simple instructions for setting up an alias...

Hello all.  After two days of unsucessfully trying to create an alias; I need assistance.  This SHOULD be a simple thing to do, but I'm missing something.My environment consists of: A server running...

View Article

Xtended events and clr with data access trace

There is a sql statement which uses a table valued clr function which inside opens another context connection ( using (var connection = new SqlConnection("context connection=true")) ) and using another...

View Article


DM views such as dm_os_performance_counters - how to read the results and...

Anyone got a link they would like to share on how to read and interpret the results of dm_os_performance_countersToday I ran into some performance issues with SQL slowing to a crawl for a few...

View Article


xp_delete_file extremely slow on a server - Wait_Info...

I am looking at one server where xp_delete_file is extremely slow to delete files.One subdirectory contains a few thousands files and it takes about 1 second for each file to delete.The wait_info is...

View Article

Could not allocate a new page for database 'XXXX' because of insufficient...

Dear All,I have a SQL Server 2008 (SP1) Database (Size600GB). It has more than 25 Data files and more than 5 LDF Files.My issue is most of the times whenever I tried to created new indexes or...

View Article

Problem in connecting to sql server started in single user mode in cluster...

Hi,I have restore master DB.  But when i am starting sql server in single user mode by putting -m in startup parameter then after restarting SQL Service not able to make connection to sql server becoz...

View Article

SQL CDC feature error

I have restored SQL 2005 database in SQL 2008 ,i have enabled CDC  for one table ,but its not working.It throws below error in the SQL agent capture job" Message Executed as user: NT AUTHORITY\SYSTEM....

View Article


How to Apply the patch............

hi , we are using active & active clusters in sql server here how to apply the patch.. if any possible give me ans step by step...... Regards, Chandu

View Article

Image may be NSFW.
Clik here to view.

More columnstore woes

Hi all,I have an issue with columnstore and the query optimiser.  I am running the following query:SELECT Store.StoreId, COUNT(*) FROM Fact.Sale INNER JOIN Dimension.Store ON Store.StoreId =...

View Article


TCP Endpoint Channel Communication Directly Between 2 Servers

Hello,I am not sure of the correct way to ask my question so here is what I was thinking but I am not sure it is possible.I have 2 server 2012 boxes each with SQL 2012 installed. I have created a 2 GB...

View Article

how to Run multiple instances trace from a single trace script

hi..I have few SQL Servers and each servers got multiple instances.I have scripts which can Run for a single instance and generating the required result.Now my requirements is i need one scripts which...

View Article


About VLF Filesize in DB.

Hello,The below question is to understand how VLFs are created when DB is created and the size's of VLFs.Below are two examples of DBs,DB1: The VLFS are as...

View Article

How to give Read-Only access to SQL Agent Jobs

Hi Folks,Could you please help me on how to give Read-Only access to SQL agent jobs?Thanks in advance

View Article

Data compression in SQL Server 2008 R2

Hi,I would like to know if we can roll back the action of data compression on a table. For ex: I have compressed a table with PAGE compression option. Now I want to rollback the compression and get the...

View Article
Browsing all 15889 articles
Browse latest View live