Bulk Insert
This is from TechNet for Bulk SQL Server 2008 R2If a user uses a SQL Server login, the security profile of the SQL Server process account is used. A login using SQL Server authentication cannot be...
View ArticleFail to Install SQL Server Standard Edition 2008 R2
Dear MSSQL supports,One of my Customer have bought the license for SQL Server 2012 and they wish to down grade it to SQL Server 2008 R2 and install it to window server 2008.However, we do facing some...
View ArticleError while REORGANIZE Index --Urgent please reply.
Hi All , I am getting very creepy error while reorganize index.We are running maintenance plan to reorganize the index ,but before performing this operation we are shrinking database as it client...
View ArticleCan I use SQL Server 2005 9.00.2047.00 for free?
Hello. I have received a computer which has installed Microsoft SQL Server 2005 - 9.00.2047.00. I wonder if this is a free version of SQL server, or should I uninstall it? I know that SQL Server 2005...
View ArticleSimplest way to get max record
Hi, I think my title want clear enough. Let me try to explain. I have this simple table:CREATE TABLE dbo.mytable ( id [int] IDENTITY NOT NULL, name NVARCHAR(100) NOT NULL, version [int], PRIMARY KEY...
View ArticleGet id by max identifier
Is there anyhow to pass this as where statement? I mean, "where Max(version) group by name" I need to retrieve only the ids in it, something like this:select id where max(version)groupby name
View ArticleDirty Reads
Hi AllI'm trying to do a Dirty Read ieUpdating a specific record in the Database Then trying to read the same record prior to the Update Transaction being Committed. Ive tried all the different...
View ArticleHandling large amount of data in SQL server 2008 >10Gb
Hello, We are working on crawling software which should be able to collect data from over 200 web sites. Our plan is to store XML files into the DB. These sites are quite active, having over 10k events...
View ArticleDisplay horizontal rows vertically SQL Server 2008 R2
I ran the following query SELECT EMPID,ENAME,SALARY,DEPARTMENT from EMPLOYEEand the result was thisEMPID ENAME SALARY DEPARTMENT---------------------------------------------01 TEST1 2000 A/C02 TEST2...
View ArticleRestrict start, stop & pause services to VIEW SERVER STATE
Hi All,SQL Server 2008R2I have assigned VIEW SERVER STATE to a login but I don't want this user to start, stop & pause services. Please suggest on how to achieve this.Regards,Shiva----Learners...
View ArticlePatching Activities
Hi,How do we test on a test/dev SQL Server first before applying SP into production. Is there any seperate process or just installing SP is enough. And how do we confirm that all applications are...
View Articledbowner can't change database options?
Hi,I have created a login with public role in server level and dbowner in database level now my question is dbowner can't change database properties like recovery model, collation & autoclose...
View ArticleCan't download SQL server 2008 R2 Evaluation
I'm trying a development server build with SQL server 2008But the download link takes me round in circleshttp://www.microsoft.com/en-us/download/details.aspx?id=8158Is this the right place to download...
View Articleneed sql server link information
himastersi haveOs: windows xp service pack-2visual studio:vs 2008 Version 9.0.21022.8 rtm, .net framework 3.5I tried sql express 86-bit..but not supported.I need sql server as a database. I am confused...
View ArticleTail log backup
In the scenario if Sql Service(not only database) is down can we take Tail Log backup
View ArticleA network-related or instance-specific error occurred while establishing a...
Hello All,I installed the student version of SQL Server 2012 in my home PC. I tried connecting to the database engine. It does not work for some reason. I also configured the firewall....
View ArticleHow to change default location of a server
Hello Everyone,I'm just getting started with SQL server and initially when I set it up I set my local hard drive as the location of my local server.I recently installed a new 1TB hard drive. I want to...
View ArticleT-Sql script to make all Databases to Read-only mode in sql server 2012
Hi All,I am trying to make few databases to Read-only .Once testing is done I need to switch back to read/wrire mode.I am looking forT-Sql script to make all Databases to Read-only mode in sql server...
View ArticleT-Sql script to run Database statistics in sql server 2012
Hi All,I want to run Database statistics for all databases except(master,modal,Msdn,tempdb,Sqlaudit) in sql 2012 server.So I am looking for T-Sql script to run Database statistics in sql server 2012
View Article