SQL SERVER 2000 RESTORE STATUS
HiIs there any query to find the restore percentage on the Database?thanks in advance.Regards, Pradyothana DP http://www.dbainhouse.blogspot.in/
View ArticleAuto Restore Test Database from most recent Production Backup
I was looking at using an 'Auto Restore script', that would allow me to:->Run the Restore from the Test Server nightly via a SQL job->Restore this latest Production backup by querying the...
View ArticleError in Sub-Query
Dear All,Based on below image show that the error message, As i know is aggregation problem in sub query, May i know how to solve it ? thank you.
View ArticleHuge Data Table Load Into Another Table
Hi All,I have a table say "Upd". There are 15 jobs running every 15 minutes in steps which loads data into this table as well as other tables too. The problem is that by mistake a developer loaded data...
View ArticlePhysical FileSteam encryption
Hi,I'm saving images on my SQL 2008 using Filestream. Each image is stored in the FS container with an encrypted name (exp: 0000150f-000001ab-005b).if access is granted to FS folder, images can be...
View ArticleJoining MSDN SQL Server Forums
Hi,I am Siddharth and would like to join the SQL Server community.RegardsSiddharth
View Articlegroup wise maximum query
hi,I have a table with following valuesAUTOIDRNONAME11ACCOUNTS21IT31SALES42MARKETING52SALES62IT73MAINTANANCE83SUPPORT93ACCOUNTSi need to get the max row of each...
View ArticleHow to calculate size of a folder located on different machine(Remote) in sql...
DECLARE @TenantId UNIQUEIDENTIFIER ='A79ED820-2E5E-4A9D-B930-B7597DC97081' DECLARE @BusinessName VARCHAR(200) declare @line varchar(255) ='' declare @path varchar(255)='' declare @command...
View ArticleHow to get the total order per company ?
Hi guys, I'm stuck on this exercise and I need some help please.Give the CompanyName of those customers with orders over $100000. Include the subtotal plus tax plus freight.Please find the schema...
View ArticleT-SQL vs Oracle PL-SQL - SQL Server 2008-2012
Hi,does anyone know a free paper that matches T-SQL statements with Oracle PL-SQL Statements.Many thanks
View ArticleError converting data type varchar to bigint.
SqlCommand command = new SqlCommand(); command.Connection = connection; command.CommandText = string.Format("select * from EmployeeType where id='Hierachy Update'", Id);...
View ArticleI have created a database, what is data structure and relationship?
I have a database.I have 4 tables.Employee tableProject TableSales order tableCustomer table================================SalesOrderId is uniqueEmploeeId Is uniqueCustomerID is uniqueProjectId is...
View Articleselect and group continuous absenteeism days
Hi guys,I have a table being generated by a query in the db server that displays the below data... This is part of a scheduled job that has been designed to trigger mails to only the employees...
View ArticleSSISDB package metadata
Hi,From which system table can I get the .dtsx thats actual XML code of any package deployed to SSIS Intergration services catalog.Already checked in following tablesselect Package_data from...
View ArticleSID to AD object name conversation.
Hi All, I have few SID’S in my table with resource allocation, example:-Resource SIDAd-ObjectConf-room1S-1-5-21-2620262765-442730090-2808145922-1207...
View ArticleEstimated and actual number of rows at filtered statistics
I have query like this:SELECT productID FROM dbo.table WHERE nar_closed=1 AND nar_status=0I have filtered index:CREATE NONCLUSTERED INDEX [x_status] ON [dbo].[Table] (nar_status ASC) INCLUDE(productID)...
View Articlemaking sql server database read -write from read only
hey guysi attached adventure works in sql server 2008 and it showing as read only ,so please guide me to make it read write or remove read only tag from database thanks in advancesujeet software...
View ArticleError: "Cannot schema bind function 'dbo.test' because name 'dbo.test' is...
I have a function similar to the following (similar in the way that it calls itself on some conditions):Alter FUNCTION [dbo].[test] ( @x int )RETURNS NVARCHAR(10)WITH SCHEMABINDINGASBEGIN RETURN...
View Article