Datatypes
Hi all,What are the datatypes available in sql server 2008 and explain each of them and how much data they stores?
View ArticleHow to concat two queries?
Hi All, How to concat these two queries? Select ROW_NUMBER() over(order by Rdl.Character01) as Id,'Project' As Name ,count(rdl.Character01) As Total from ReqHead R, ReqDetail rdl where...
View ArticleNT AUTHORITY\System account
Can any one explain about NT AUTHORITY\System account why we used in SQL SERVER
View ArticleOrdering changes... ???
Hello,Could somebody explain me why the ordering has been changed ? In these two examples. First Query returns order by empid, but why it changes in the second one ? Why everything in order by...
View ArticleInner join with like clause
Hi good afternoon everyone!!I'm trying to do a query and I need to know if there is a way to do it , i've read something about tokenize but i didnt understand mutch if it's the solution What I have I...
View ArticleSQL QUery
You need to find duplicate account’s in an Account table. The Account table has 15 columns in it. What is the problem with this query?SELECT*FROM AccountWHERE CreateDate>'2/1/2013'GROUPBY...
View Articleshow second result for multiple records - MSSQL2000
I've got a query that displays the second result for one customer. what i now need to do is show the second result for each customer in a particular list (for example 20 different customers G/1931,...
View ArticleRestoring Database and Master from 2000 to 2005
I have a machine that runs SQL Server 2000 with 1 database. I've backed up the database and the master database and I want to restore the database on a different machine with SQL Server 2005. I'm going...
View ArticleSYSTEM DATABASE BACKUP
HI,Is there any script to take system backup(MASTER,MSDB,MODEL)Please helpThanks in advance.Regards,Shashikala
View ArticleSQL server login backups.
HI,If we take master database backup, is it required to take login backup again separetly ?Please help me to clear on this.ThanksShashikala
View ArticleExplanation of Suspect DB T-SQL commands
Hi,Pls Explain meaning of below each step:“EXEC sp_resetstatus ‘yourDBname’; ALTER DATABASE yourDBname SET EMERGENCY DBCC checkdb(’yourDBname’) ALTER DATABASE yourDBname SET SINGLE_USER WITH ROLLBACK...
View ArticleIs SelfJoin slower than loading and accessing from temporary table?
Hi, i have a requirement like if any record of ABC is in the given roll_no then all other records of ABC in the same table also should be moved to same roll_no (with extra two conditions), so i...
View ArticleHow to determine the appropriate application development tools when maturing...
Microsoft Access 2007 applications executed on PCs and tablets. Data collection is localized to the device. The goal is to re-develop the applications so that immediate data collection is still local,...
View Articlesql server configuration manager
In sql server configuration manager->sql serviceshere not able to see any services and showing 'there are no items to view'.Please let me know what does it mean?ThanksShashikala
View ArticleDefault instance in Clustered instance?
In clustered instance the instance name would be virtual but the service name is 'MSSQLSERVER'.Can we consider this instance is default instance.Example:Hostname: abc.srv.comInstance name: xyzService...
View ArticleIs Select statement DML,DRL,DQL?
I search on many sites, still didnt get the answer from a reliable source. Is Select statement DML,DRL,DQL?
View ArticleConnecting to SQL 2005 Database Engine
I've installed an instance of SQL 2005 on Windows 2000 Server and cannot connect to the database engine locally. If I try to connect to the instance through management studio, it refuses to acknowledge...
View ArticleCall to sp_configure from DACPAC pre-deployment script doesn't work
Hi,I'm trying to deploy a contained database on SQLServer 2012 using a DACPAC. In my pre deployment script I run the following script to prepare the server instance.sp_configure 'contained database...
View ArticleSQL SERVER Clustering
Hi,We have clustered sql servers.Servers:1.abc.svr.india.net Instance:ARD01\SQLD012. xyz.svr.india.net Instance:ARD02\SQLD02Nodes:1.abc2.xyzWhen we execute query to check active node, it will give...
View ArticleDisable trace files
Hi,I have created one stored procedure to enable traces which audit all users with sysadmin or control server privileges. These trace files consuming space in disk.If we delete stored procedure,...
View Article