Parameters
HiUsing SQL Server Management StudioI'm creating a query and I don't know how to create a run-time Parameter Your help will be much appreciated!Thanks,KasSELELCT balance_tbl.cmpcode,...
View ArticleHow to find total row count on weekly basis
I have written a join query which works perfect and it give me total number of rows between two dates, however is there a way where i can modify my query so that i can see the result on weekly basis...
View ArticleCannot connect to backup sql server
Hi, i'm new in Azure and MS SQL.I'm trying to create an Availability Group: Primary and backup SQL servers (msdn.microsoft.com/en-us/library/azure/dn275957.aspx)At Step 7 (Connect to Server) I get...
View ArticleNon clustered unique index creation failing due to duplicate key
I am a DBA and my rebuild index job has failed with the error that "The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object name and index name". The non clustered...
View ArticleClustered index and Fillfactor
I am beginner of SQL server .I have read about Clustered index and Fillfactor for the first time.1. Clustered index and Fillfactor is only for MS SQL server and Oracle database do not have them ?2....
View Articlehow to alter table in sql server2008
Hi Friends, I have import one table and want to alter table. How do i do this
View ArticleProblem attaching a database to SQL server
HelloI am attempting to attach database AdventureWorksLT2012 to SQL Server...when I right click on the datbase and look at properties/security I do not see Authenicated Users listed...I am told that I...
View Articleclustering
hai,i have two windows server 2008 severs on vm workstation,may know how to build a clustering between two servers with sql server 2012 on them.please suggest me .
View ArticleQueries related to SQl Server
I have one hosted Database Server on which using SQL 2008 Web Edition now We want to change to SQL Standard edition# Server Config Dual Socket Server populated with 2 8 Core Processor # we use...
View ArticleActive/passive Installation
please help me for setup active/passive SQL Server Cluster 2012 (windows server 2012).How it differentiate active/active with active/passive while installing ?Please Help meThanksRajesh
View ArticleSQL Server Upgrade or New Instance Installation
Good day, I would like to find out what is better, Upgrading from sql server 2008 to 2012 by using the upgrade functionality or doing a clean installation of SQL server 2012thanks in advance
View Articlehelp with error
can some help me with this errortmp-mksh: <stdin>[1]: syntax error: '(' unexpectedfrom this querySELECT start || ' ' || title || '\n' || (CASE WHEN allDay = 1 THEN 'All day' ELSE (CASE WHEN...
View ArticleSql server 2008 developer installation completed with failures
trying to in stall sql server 2008 developer but installation completes with failures. I get Error reading from file...
View ArticleDatePart function returns a asterisk
I found a DATEPART Function returning an asterisk this morning for a backup job dynamically building the backup path. I just thought I'd share it since I doubt they will fix it.--Run this in SSMSselect...
View Articlehave problem with stored procedure
Basically, I would like to retrieve the SES10 from the table dbo.ses2010_blk$ when it matches both the input parameters of census2010 and the blkgrp. I wrote this stored procedure and it executed...
View ArticleJOB in Sql Server Agent should run multiple times.
Hi Guys,I have a ETL SSIS job in Sql Server Agent, Which should run multiple times. 1. For Example : I scheduled a job at 10:00 PM, If the job fails at 10:00 PM it should run automatically again at...
View ArticleWhere did the securables go? Created Databse Role add Securables and...
Hello my friends:Create a Database Role, added Securables and set the Permissions. These are all stored Procedures.When I clicked Okay I get a message that the role was created successfully.Now I go...
View Articleunable to install sql server 2012
I am trying to install sql server 2012. I need it to run a trial version of Xactimate. I get the following error during the installation process on the SQL Server Installation Center box : The feature...
View Articlesql server bulk insert blob filename parameter
My problem SQL script:declare @filepath varchar(100)set @filepath = 'E:\foto\1.jpg' INSERT INTO [dbo].[MsQuestions] ([TestCategoryID], [LevelID], [TestTypeID], [QuestionText], [QuestionImg])select 1 ,...
View Articlesql server 2008 r2 install registry key error during installation
My sql server 2008 R2 installation fails with the following error.Could not write value to key/SOFTWARE. Verify that you have sufficient access to that key, or contact your support personnel.How can...
View Article