Why editing not possible
Hi all, By chance I hit clear edit list and now can not edit anything, what should I do?Thanks for any info
View ArticleTable Join Strategy
Hi, Could you please let me know the Join Strategy to achieve best query performance for below scenarios: 1) Joining Large Tables Table1 count is 200,000 Table2 count is 100,000 Table3 count is 90,000...
View ArticleSQL 2012 Open Cluster (Reason 5)
Hi,I have newly installed SQL 2012 on 2 Windows 2012 clustered node (Active/Passive). I get this error each time I switch sql resource to another node. After this error, I get another information...
View ArticleDatabase Mail sends alerts after server reboot ?
Hi,We are running SQL Server 2008 and database mail has been set up for sending alerts (Database and Transaction Log maintenance plan).When we restart the server, we get a number of alerts (transaction...
View ArticleHow to create Batch file to execute sql scripts
Hi friends, i want to create batch file to execute all my .sql scripts.I have all table ( all table scripts in single file ) ,Udds ( all udds in single file ) ,Stored procedures( separate file...
View Articleset a databaseoff single user
Hi gurussql server 2008 r2 on 2008 r2 serverI need some help and hope you can point me to the direction, I have a database that shows (single user) and I all other dont show that labels, so I take the...
View ArticleHow to select and duplicate the records and update some column values using...
I have a table with 920 records, we need to update the end date to 6/30/2014 for 920 records and I need to create all 920 records with start date is 7/1/2014 and update the external value to CCC.Note:...
View ArticleUpdate Query question
I have a table that contains inventory on hand balances for different inventory locations. Right now when I have to move inventory to a different location, I have to move one item at a time through our...
View Articletempdb issue
i have heard and read in mnay portals but in my project in on of my ticket the resolution it says that executed the backup command like backup tempdb with truncate only and they say that the space was...
View Articlelast backup and backup location query
Are there any useful queries that will lack last backup information for all databases on an instance, and include a field which shows where the backup was written to (i.e. UNC path).
View Articleerror while logging to ssms
I am not able to login to the SSMS, while I am logging I got this error please help me how to troubleshoot this error..TITLE: Connect to Server ----------------------------- Cannot connect to...
View Articledifference between sql server 2005,2008, 2008r2 and 2012 in installation?
Hi What are the difference in installation of 2005, 2008 and 2012 and what are the features are added in installation?Thank you
View Articlequery
QUERY 1: HOW CAN I SEE ALL HISTORY OF MY DATABASE THAT WHAT CHANGES I DID ON WHAT TIME PERIOD AND ON WHICH DATE........(ONLY GIVE ME OFFLINE PROCESSING FOR THIS)QUERY 2: HOW CAN I SHOQ AN INFORMATION...
View Articlewill I lose out by learning an earlier version of SQL Server?
At work we use SQL Server 2008 R2 from what I can tell and I use it to do many DB queries. I have been asked to select a course available through Skillport and notice that my only selections are for...
View ArticleConfused about triple discounts in stored procedure
Hello. I am making a stored procedure for monthly sales. In the stored procedure we have a Discount. This discount can be fetched from three different tables. If the discount is not in id.rabatt, it...
View ArticleWhile debugging, what can you do in the SSMS Command Window.
Using SQL 2008. Come from a .NET background. I know in .Net what to do with the command window. But I have not been able to figure out what to do with it while debugging in SSMS. Can you give me some...
View ArticleSQL Server Configuration Manager
Hi,I have some SQL 2008 standard and Express servers which have SQL Server Configuration Manager installed and not SQL Server Management Studio. My question is how can I configure the DB permissions in...
View ArticleI want to capture the previous months data on the first of each month in a...
I want to capture the previous months data on the first of each month in a SSRS Report. What is the correct formula?
View ArticleChange logon account for MSSQLSERVER on SQL server 2008 r2
Hello,The SQL Server 2008 R2 is running on Server 2008 R2 and is not clustered. MSSQLSERVER service is running with Network Service account. The server is in production and has multiple database and...
View Article