Instance Names
I am looking in SQL Server Configuration Manager.There are two instances the SQL Server Service running. Does that mean there are two instance of SQL On this box?I can only connect to one instance via...
View ArticleNeed 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 ArticleNeed 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 ArticleNeed to write a SQL query
Below is the ERD. In need to create Report in following structure.The contact in above report will be the contact linked to the activity table where contact_Id=dbo.Contacts.IdCreatedBy is the Agent in...
View ArticleHow 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 ArticleLicensing 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 ArticleTime out error while reindexing
Hi All,since couple of times we are getting timeout issue.that too early morning when out batch process runs we are getting. I suspect it is because of re-indexing causes the issue. we are performing...
View ArticleCannot install Adventureworks 2012 Samples Databases
Hello!I just installed SQL Server 2012 Evaluation on my machine but I am having difficulty installing Adventureworks Samples.Here are a couple of things I have done: 1. I ran this query (the path is...
View Articleyour sql server installation is either corrupt or has been tampered with...
Hello, Whenever i make an MVC 5 controller with views, using entity framework and try to run and compile the file i get the "your sql server installation is either corrupt or has been tampered with...
View Articlelooping 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 ArticleQuery 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 ArticleDatabase 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 ArticleSpeed to open SQL Server
Would it be possible to display the splash screen immediately. Because it doesn't appear for aome time, I frequently start a second copy thinking the first click didn't work. If the splash screen...
View ArticleNeed to save report in custom pdf and excel sheet
I have created a report using SSRS.Need few help:1. I want to display only 2 options i.e. Save to PDF and Save to Excel2. How to save report to customize pdf and excel sheet.I don't want to use the...
View ArticleCPU 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 ArticleDatabase 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 Articlein FormView Pager Template shown in design page but not shown in runtime.....
//////////////////////////////////////////////////// //////////////////////MY TABLE////////////////// //////////////////////////////////////////////////// USE [logistics_tab] GO /****** Object: Table...
View ArticleMeasure 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 ArticleSQL Server 2012 restoring database from backup file
Hi All, 1. I was restoring the database from PROD box to DEV box with the deferent name.For Ex: Both PROD and DEV boxes are having "A" database. Now I am refreshing database"A" from PROD bot to DEV box...
View ArticleWhy doesn't shrink work for the amount it says it could be shrunk to?
My database size is 600GB. When I tried to shrink it says available free space is 66% saying around 366GB. So when allow it to shrink, the total database size reduced to 566GB. Not to the amount it...
View Article