connect to sql from visual studio
in my sql server 2008r2 I made a new database with some tables, and I want to use it in visual studio, so in the server explorer window - I clicked on "connect to database" and I can't find my new DB...
View ArticleRight Steps for Maintenance plan?
Hi,I want to create a maintenance plan in which it has :1. Changing recovery models (SIMPLE and then back to FULL)2. Reorganizing Indexes3. Shrinking the database4. Taking a FULL, DIFFERENTIAL &...
View ArticleHow to licensing SQL Server 2014 in a virtual environment
Hi all, I have to implement an environment, this environment consists of two servers in Failover Cluster with SQL Server 2014 Standard Both servers will run on Windows Server 2012 R2 operating system,...
View ArticleSql Server 2014 Proplem
Hello, Can anyone help me that i installed sql server 2014 after installation when i open it it is asking for server name ,how to solve this problem?
View ArticleMicrosoft SQL Server 2008 R2 SP2 - Express Edition
Hi,I am not able to install Microsoft SQL Server 2008 R2 SP2 - Express Edition on my Windows 8.1 Single Language OS.I get the following error."Your SQL Server 2008 R2 installation completed with...
View ArticleSql Server 2014 Problem
Hello, Can anyone help me that i installed sql server 2014 after installation when i open it it is asking for server name ,how to solve this problem?
View ArticleSelecting Applicants
Hello all.....Say there are 5 courses name A,B,C ,D and E which have vacancy 50,55,60,70 and 65 accordingly.Now say 3000 applicants opted for these courses in different dates. Now among them i need...
View ArticleSQL SERVER 2012
How to install SQL SERVER 2012 in my netbook. please give me the Step by Step suggestion
View ArticleTrying to configure EnableWriteOrderPreservationAcrossDisks for SQL on...
When I run the following powershell command I get the following warning and the action is not successful? Can anyone help out with this? Set-VMReplication -VMName server123...
View ArticleQuery to get the details of Blocking and deadlock occurred for the Day
Hi, I need a query to get the details of blocking and deadlock occurred for the day.
View ArticleProc to send email notification on new entry
Hi,I have a stored proc that I want to modify...This existing sto proc was supposed to send an email whenever there is a new entry to a report...There is also an audit table to keep track of sent...
View Articleregarding sqlserver
Hi, one product is there with 100 pieces,at a time three users are operatinguser1 ordered 50 piecesuser2 ordered 60 piecesuser3 ordered 60 pieceshow can i write sqlqueryplease help me
View Articleinsert yesterday date data and today date date into table
In my application I want insert only yesterday data and todays data .rightnow in that code im deleteing all data from table and inserting again into the table with new data.it takes long time when I...
View Articleuser accounts changed
Hi,The company changes the users account from .org to .com.Now no one is able to login locally. Only "sa" is working.The error that I am getting is "cannot generate sspi context"How do i resolve...
View Articlendf & mdf files are bigger in size
Hi,My mdf file is 168 GB and ndf file is 22 GB.What shall I do to reduce their space??I ran the command sp_usedspace, and this is what I got :Please advice...Regards, Kunjay Shah
View ArticleTrying to install SQL 2012 Std on Win 8.1Pro - Fails right away with no log
When trying to install MSDN SQL 2012 Std 64 or x86 on Windows Pro 8.1, i get an error immediately with no information posted to the summary log. Screen shot of error. Just Modal dialog with "SQL Server...
View ArticleStore Proc
Hi folks, I’m trying to write a store proc that will take tyre sizes from dropdown lists and the customer postcode from a textbox. Everything works ok but I would like to take only the first 2...
View ArticleExporting table data into text files
I got a request to export the data from about 85 tables into 85 text files. I assume that they will want a header row and some delimiter character. This is a process that must run every night by a sql...
View ArticleHelp with Sql query
I am writing a sql statement for a report when i run the query it doesn't execute i have left it running for over an hour and to no availHeres the code: select DISTINCT user_firstname +' '+...
View ArticleRebuild Index
Hi All, In one production environment "Rebuild Index" job is running every night. In weekdays it takes less than 1 sec but on Sunday it took 60 mins to complete and in next sunday it took 120 mins to...
View Article