Quantcast
Channel: Transact-SQL forum
Browsing all 23857 articles
Browse latest View live

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 Article


Auto 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 Article


Mr

Hi,I am Siddharth and would like to join the SQL Server community.RegardsSiddharth

View Article

Image may be NSFW.
Clik here to view.

Error 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 Article

Huge 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 Article


Physical 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 Article

Joining MSDN SQL Server Forums

Hi,I am Siddharth and would like to join the SQL Server community.RegardsSiddharth

View Article

group wise maximum query

hi,I have a table with following valuesAUTOIDRNONAME11ACCOUNTS21IT31SALES42MARKETING52SALES62IT73MAINTANANCE83SUPPORT93ACCOUNTSi need to get the max row of each...

View Article


How 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 Article


How 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 Article

T-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 Article

Error 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 Article

I 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 Article


select 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 Article

SSISDB 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 Article


SID 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 Article

Estimated 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 Article


making 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 Article

regarding sqlserver

Hi,  in real time where we use left outer join?

View Article

Error: "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
Browsing all 23857 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>