troubleshoot slow backup
I backup one big database over network: Database A on server B and Backup destination is share drive on server C.Database A is very big.Backup is very slow and take very long time...How to...
View ArticleDatabase Restore
Hello Everyone,can we restore a backup file (which is created in SQL Server 2008 R2) in SQL Server 2008?Thanks and Regards, G Srikar Reddy, Junior SQL Server DBA, Miracle Software systems, Inc.
View ArticleWhere to download SQL Server 2012 express edition with advanced service?
Hi All,Would anyone please share me the link in where I can download SQL Server 2012 express edition 64bit with advanced service.When I google I saw the below link and when I click on download it is...
View ArticleNeed a query,which will do a comparison and if it doesnt satisfy the...
I have a Table called Test_ X in which there are two fields:1) date_value 2)Application_Namerequirement: we have to calculate the number of days ramaining through date_value field and compare it to...
View ArticleRAISERROR QUERY
IF EXISTS (select GETDATE() 'Today Date',date_value 'expiry date', abs(DATEDIFF(dd,date_value,getdate()))'No of days before expiry' from dbo.Test_X where Application_Name='xyz'AND...
View ArticleRunning Cmdexec in SQL Server Job
Hi Everyone,I wanted to run a scripts in a job to clean up my folders in SQL Server 2005. The scripts is as below:for /f %%i in ('dir /b /s /AD F:\ASCC_FileStore\CITIntegration') do cscript...
View ArticleConstructing a View into time dependant data
1. I have a table with data like this:PersonIDDateTimeTemperaturePressure2. I want to build a view into this table so that it shows up as follows:PersonID DateTime1 DateTime2...
View ArticleCHAR vs NUMERIC
Hello everyone.I'm confused about this two data types, I want to store a numeric 4 digits code and I want to choose the best one of them (CHAR(4) vs NUMERIC(4,0)), but I don't know what's the...
View ArticleSpread the Love! Be our SQL Server TechNet Guru, this Valentine's
TechNet loves you! We love your contributions at TechNet Wiki sooo much that we give you more than just love in return...We give you NOTORIETY, GLORY... and VIRTUAL MEDALS!That's not all, this love we...
View ArticleMCTS 70-466 Implementing Data Models and Reports with Microsoft SQL Server 2012
I am searching for training kit for Exam 70-466 (Implementing Data Models and Reports with Microsoft SQL Server 2012) but I think is not published yet. I was expecting its release in Jan or Feb 2014....
View ArticleConversion failed when converting the varchar value 'No' to data type int.
Hi,The problem that i am having is as follow:i have a table called Results, and in this is a few rowsReultID INT QuestionID INT ResultScore Varchar(10)now there are 2 types of questions ones that can...
View ArticleA question about shrink
When shrink:1) release unused space2) Reorganize pages before releasing unused space shrink file to What's difference and same between above 2? When use 1) and when use 2) ?Thanks
View ArticleCreate Syntax
hei Guys, hope every thing is fine, take a look at the follow sql statmentcreate table demo (oid int, name varchar(30),)when you pass it the reponse is "Command(s) completed successfully"check the...
View ArticleWhich .exe file I should choose to apply SP2 for SQL Server 2008r2 Enterprise...
Hi All,Which .exe file I should choose to apply SP2 for SQL Server 2008r2 Enterprise Edition 64Bit.And what is the difference between below .exe files....
View ArticlePartition
Hi,What is partition function?what is schema partition?What is filegroups in partition?How to do partition of two tables those are in same database?
View Articlesql server logshipping monitor
1)sys.sp_check_log_shipping_monitor_alert Is this system store procedure created automatically after log shipping setup?If it is automatic, what does this store procedure do?It runs every 5 minutes on...
View ArticleSQL Express: Trouble connecting Management Studio 2012 to PC...
I'm currently taking a SQL Server online course offered by the Database Training Academy. I'm stuck at the very beginning where I need to connect SQL Server Management Studio to SQL Server Express...
View ArticleSet Database Back to Multi User from Single User
I am using SharePoint Services 3.0 (SP1) with default configuration options, which installs the Microsoft##SSEE instance of SQL to my local C:\ drive. While attempting to relocate the files to another...
View ArticleReturning multiple result sets from a procedure
Hello all,Can we return more than one result set from a procedure?Thanks and Regards, G Srikar Reddy, Junior SQL Server DBA, Miracle Software systems, Inc.
View ArticleCatch exception and continue the execution
Hi Team,I require the action(such as insert/Update/Delete) for each row of table/table variable and also Error/Exception details as new column if occured any.Please refer below sample input and...
View Article