Moving Temp db and log files
They've given us separate logical drives (VLD) for Tempdb and log files (currently we have separate LD's for OS/Data and backup to a san. We have about 40 db's, largest being 1.5 gb with an average...
View ArticleWhich is better UDF or STUFF function ?
Hi,We have a requirement like to retrieve a concatenated string of values as a column. For this whether i should use UDF with SQL query or STUFF.Please suggest.Here is my Example...
View ArticleHow and Where linked server queries are processing ?
Hi experts, Its my curiosity, i want to know where the linked server queries are running.I create linked server in local server. i am accessing one table,How the query is processing and how the it...
View ArticleCAST,CONVERT and SUBSTRING
Hi,I have a coumn called DateDAte: 2014-05-12 00:00:00.000 (yyyy-mm-dd time)Now i need to change this to two Column called Season and DateMMwhere DateMM: 201405 (yyyymm) and season : FA14 ( since its...
View ArticleSelect and Insert statements in Sql server 2005 stored procedure
Hello, I'm using SQL Server 2005 - stored procedures. Stored procedure - select statement : ----------------------------------------- The select statement inside the stored procedure doesn't return...
View ArticleDBA Checklist for Daily activities
Hi Experts, Tomorrow i am having interview in MNC company in india,now i am working in Indian based product company.I am expecting tomo first question is Roles and Responsibilities of DBA in daily and...
View ArticleLinked server to Oracle - permissions
Hello,I added a linked Oracle server to my MSSQL (2008 R2).Is there a setting to allow/block which SQL Server users can query the linked server?ThxM
View ArticleCan an extra WHERE clause accelerate an INNER JOIN?
I already get the correct result (let's say 10 rows) with the bare-minimum where clause, on my INNER JOIN.The two tables are called Files and Accounts. However, I already know in advance that those 10...
View Articleservice account question
Hello,there are multiple identical questions but in different scenarios.Let me ask too :)Setting up SQL 2012 on Server 2012. Planning to use it in Production so following best practices for partitions...
View Articleinsert statement
Hi,In my application im using asp.net form view <asp:SqlDataSource ID="dsCategories" runat="server" ConnectionString="<%$ ConnectionStrings:AAPDB %>" DeleteCommand="DELETE FROM [POCategories]...
View ArticleSQL Server Setup Failure 0x84B10001 (SQL 2012 SP2 and SQL 2014 Standard)
I'm having a problem with SQL Server Setup. I had SQL Server 2012 R2 SP1 installed, and the SP2 installer would fail.I decided to just get SQL Server 2014. The setup (and system configuration checker)...
View ArticleSpecify SQL Server administrators
just to be sure about SQL server administrators accounts.Domain User MUST be added to the local Admin Group in order to have unrestricted access to the Database Engine.Correct?"When you hit a wrong...
View Articlems sql 2012 ntwdblib connectivity file for powerbuilder 9.0 application
Dear all,After upgrading my ms sql server from 2000 to 2012, my applications (developed in powerbuilder 9.0) performance has degraded , speed very slow. i am not using odbc, instead i am using...
View ArticleHow do I enable default failure audit and password policy checking?
Hi,I am trying to install DPM 2012 R2, and on the requirements for SQL is : Use the following SQL Server settings:default failure audit, and enable password policy checkingI have tried looking for...
View ArticleHow do I install two instances on the same Server and avoid a conflict?
Hi,I have one Server and I want to install two instances of SQL Server on it.1. Will be a default instance.2. Will be a named instance. The Server has an IP address of 192.168.0.10 and the default...
View ArticleHow to add a check constraint to a column to accept values in the following...
All I could come up with is this: check (column_name like '____');But That doesn't enforce the first character to be a letter and the other three to be numbers.
View Articleauto import dated filenames
Hi Guys,I want to create a automated sollution for downloading (ftp) and restoring a specific DB. I'm stuck on the following. The file that is downloaded every night has a date and time stamp in the...
View ArticleLanguage
I have installed SQL 2008 R2 SP1 with latest CU. I have a requirement that the Database should support Arabic language, I have installed SQL 2008 R2 SP1 on windows server 2008 R2(i have enabled Arabic...
View ArticleInstall SQL Server 2008 R2 10.50.1600.1 or 10.50.4000.0?
I'm building a new farm and need to install SQL server. I have SQLServer2008R2SP1-KB2528583-x64-ENU.exe on the network, but I'm not sure if this isonly SP1 or the full version of SQL Server 2008 R2...
View ArticleExporting data from SQL Server database to Oracle database
Hello All,We need to replicate a table's data of SQL Server database to Oracle database.Can this task be accomplished using Import/Export wizard or Linked servers?Can help me regarding which Oracle...
View Article