Quantcast
Channel: Forum Getting started with SQL Server
Browsing all 4729 articles
Browse latest View live

How Clustered and non clustered index work on the table

hi all, I am having clustered index on id and non clustered index on other 2 columns.. when data is inserting how the data will store in page.is it in physical sort ?if not how it work,,please help...

View Article


Select Statement Blocking Delete Operation

Hi Experts, In a Single table am trying to do delete operation but it has been blocked by simple select query. Database setting : Read Committed Snapshot already set to ON for that database. Any Idea...

View Article


Licensing for Reporting Service and other separate components (OLAP/MDS)

Hello. I was told that installing Reporting Services on a separate server (not on a SQL box where database engine is installed) requires this reporting server to be licensed additionally with SQL...

View Article

Help with Indexes.

Hi,We have got table with 27087719 rows and when I execute simple SELECT statement it tool 14:30 minutes to give me the output, and when I filtered the columns to just 3 columns and again fired SELECT...

View Article

Image may be NSFW.
Clik here to view.

Downloading SQL Server 2014 Books Online

Hi ThereI would appreciate if anyone could help me. I am trying to download the online help for SQL Server 2014. The only item I have selected to download under "SQL Server 2014" is Books Online. The...

View Article


ISNULL, How to display 0 instead of NULL when executing the stored procedure?

My lines are:select  isnull(tblaaa.Week, isnull(tblbbb.Week, isnull(tblccc.Week, isnull(tblddd.Week, ISNULL(tbleee.Week, tblfff.Week )))))AS 'Week'   ,tblaaa.aaa ,tblbbb.bbb ,tblccc.ccc fromwhere do i...

View Article

How to simply remove Partition Schemes or Partition Functions

Hello,Did anyone can instruct how to remove the Partition Schemes & related Partition Functions?When try to remove those Partition, it give out a error 7717 and it can see there are many related...

View Article

Down grading from Enterprise to Standard Edittion

Good Morning,What is Microsoft's recommendation on down grading from Enterprise to Standard.   We have SQL 2008 R2 Enterprise and we are going to SQL 2012 Standard.   Any good recommendations would be...

View Article


Creating Sessionstate Database

Dear Expert, I have SQLServer 2008R2 and Server already has 1 sessiondb which are using for different site and now I need one more sessionDB in SQLServer2008R2. Please  provide the Steps to create...

View Article


I need sql query please help me out

I have two databases 1) erp 2) edusourceIn erp database i  have table  master tables and  columns  like RecordId , value type ,Feildtext,description,Meaining,parentid etc data stores based on value...

View Article

Licensing SQL 2014 Standard

I am presenting a quote for a customer of a SQL Server Standard for 45 "real" users (1 cal server + 45 user cal), and the company will implement the ERP is presenting the same quote with only one User...

View Article

Image may be NSFW.
Clik here to view.

Need to display report using SSRS

I have a query that display above format from different tables.But since in row 2 and 3 date, time,day values are same, I don't want it do display it again in row 3.Below is the required format.How to...

View Article

How to use open Row set in sql server 2014

Hello All,How to open the row set using sql server 2014 using link server connection.

View Article


looping through a table

how do I loop through the following table and get it to insert records into another depending on the number that it finds in the value column. eg if there is 8 in the value column, 8 records should be...

View Article

Query analyzer help

Hello quick question,I am trying to get data from a database and two tables into a csv.. I thought i could write a join but i dont see the join between the two tables. How would i do this, the tables...

View Article


Image may be NSFW.
Clik here to view.

Need to write a SQL query

I have a query that display above format from different tables.But since in row 2 and 3 date, time,day values are same, I don't want it do display it again in row 3.Below is the required format.How to...

View Article

Database Mail

Hi, I did configuration of Database Mail and sent an test email and got the message.My problem is I have SQL Server Agent Job that sends emails when the job is failed. I did not get the email when the...

View Article


Image may be NSFW.
Clik here to view.

CPU yo-yoing on Database server

CPU on my database server appears to be yo-yoing. The below image shows the % processor time for the 4 CPU's used by my SQL Server(2008 R2 Standard Edition).I ran a query to get the 50 highest CPU...

View Article

Database size doesn't add upto total individual size of tables

I found the database size using this query:EXEC sp_spaceused;This gave me a result of 600GB. Then I found the individual table sizes using the following query:SELECT t.NAME AS TableName, s.Name AS...

View Article

Measure network bandwidth of SQL Server

Hi everyone,I'm using SQL Server 2k5. Now I get a request to measure the network traffic of a certain DB. For example, how many GB data are in and out from a DB in 1 hours or longer. Is it possible to...

View Article
Browsing all 4729 articles
Browse latest View live


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