SQL express 2005 to SQL server 2014
Hi,Our customer has a SQL Express 2005 today, and we have installed another server with SQL Server 2014. Can I do a backup of the database on the SQL Express and restore that database on SQL Server...
View ArticleSQL Server Express System Requirements
Hello,I'm building a small-scale ERP application for a small-sized company. They don't have a lot of data to store and the ERP will only have three users. For that reason I'll be using the Express...
View ArticleSetup email to see error jobs sql server 2012
Hello,I need to setup an email alerts with Jobs errors ( with error logs is it possible ) on nightly basis.example:Job name : Full backup | Status : Error | error log : 'The job failed 12........' Job...
View ArticleImport SQL Agents jobs
Hi,We have moved som databases from 2008 R2 to SQL Server 2014 and that was ok. Another thing im not sure how to solve is the jobs under SQL Server Agent>Jobs. What I have done now, I have right...
View Articlespool command in sql
Hi Experts,Quick question about using Spool command. Basically i wanted to run a script which has multiple queries and i wanted to see the execution output along with actual script. Below is my try,...
View ArticleHelp in rewriting the stored proc
Hi All,I have to modify a stored proc that is written by someone else. basically, the stored procedure uses a cursor to fetch the data from the table and then insert the data in another table. While...
View ArticleTransactions - What are considered as Transaction in SQL Server
DECLARE @cntr_value bigint SELECT @cntr_value = cntr_value FROM sys.dm_os_performance_counters WHERE counter_name LIKE 'Transactions/sec%' AND instance_name LIKE '_Total%' WAITFOR DELAY '00:00:10'...
View ArticleMove/copy linked servers from one server to another
Hi,I have migrated databases and logins from SQL server 2008 R2->SQL Server 2014. Now I also want to migrate/copy the "linked servers". Do you have a step-by-step for this, so that i will copy...
View ArticleMsg 170, Level 15, State 1, Line 7
I am very angry with SQL server 2005It takes me long time, but can not fix itI am doing a very simple task. I generate SQL scripts from my SQL server 2005and execute it in another computer (SQL server...
View ArticleHow to get records of last working day using sql server
I need to query an SQL database to get all purchased products on last working date. For example, on Monday I need to get the records of Saturday. Also suppose due to some reason Tuesday is my leave I...
View ArticleSQL Server Windows Authentication using ADFS
Hi SQL experts,I have two AD forests without any kind of trust:customer.internal (forest level 2012 R2)service.internal (forest level 2012 R2)Now I have a SQL Server 2012 Standard in the...
View ArticleSelect All rows in all tables in a database
What will be the query for selecting all rows in all tables that Contain the value of an integer lets say in a database called maindb? Thanks in advance!
View ArticleAfter Install of SQL 2012 server is stuck at "Please wait for the User...
This is a fresh install of Server 2012 R2 Standard, running on ESXi 5.0. Nothing on it besides Windows updates and added to the domain. After installing SQL 2012 and rebooting, the server comes up to...
View ArticleLocking column(cannot drop columns in the table)
Hello,How can I pervert dropping the column in the table (probably some process doing that and I want to find it) ?I need to be able to modify but not alter / drop column .Thanks
View ArticleHow to calculate the Average of fields that are not zero?
I have a few columns: Week1, Week2, Week3, Week4, Week5i.e. Week1 = 5Week2 = 0Week3 = 10Week4 = 7Week5 = 0How do I calculate the average based on the fields that are not zero?Incorrect: (5+0+10+7+0)/5...
View ArticleMaster Database Corruption post repair login problem
Hello Experts,on design pc an default instance of SQL 2008 was installed which was unable to start SQL engine due to master.mdf corruptionafter some Google searches I got the following codeSetup.Exe...
View ArticleSQL Server 2016 CTP 2 is available
Hello community,The new SQL Server 2016 CTP 2 is now available as a public download at: https://www.microsoft.com/en-us/evalcenter/evaluate-sql-server-2016I wish much fun with testing the new features:...
View ArticleTempdb log file running out of free space while running DBCC checkdb on a...
Hi All,In my environment, there is maintenance plan configured on one of the server and while running DBCC checkdb on a database of size around 200GB, log file usage of tempdb is increasing and causing...
View ArticleReport Viewer require a license for the SQL Server 2008?
Hi, Good day to you. I am trying to purchase a virtual machine A2, together with Operating System, Windows Server 2008 R2, I also need the followings, 1. SQL Server 2008 R2 Express 2. IIS version 7 3....
View ArticleI need help you...
I'm Buy New Server Config HP Proliant ML 150 Gen 9. Inter(R) Xeon (R) CPU E5-2620 v3 2.40GHZ 2400 Mhz, 6 Core (s), Logical Processor(s), Ram - 16 Gb, HDD - 300GB, Raid - 1, OS - 2012, I'm Install Sql...
View Article