How to join the Rule ID to the Error Excel data table.
I have a requirement to get the invalid active rule ID from the rule table for the interface errorsInterface has the logic to log an error, if more than 1 rule found for same combination of product,...
View ArticleSQL User Account
Hi,I've download SQL Server 2014 express, I can login onto SSMS using windows authentication.Under security / logins, I created a user and mapped it to server roles (sysadmin/public).Under user...
View ArticleI want to make crud stored procedure
helloI have two table 1. Model(model_id(PK), model_code, model_desp)2. Maker(maker_id(PK),maker_code,maker_desp,model_id(FK))Now I have Gridview in asp.net c#MODEL TABLE...
View ArticleT-sql query to check if the columns have null then insert into new column
Hi,I have a table with columns res_street_address,res_Zip,mail_street_address,mail_Zip.I have to insert these columns values to destination table with columns Street_address and Zip with condition that...
View ArticleHigh DB Server CPU When Opening Form In Dynamics AX 2012
Hi,I have an issue with Microsoft when a particular form is opening the CPU on my database server spikes. On the application the form takes ages to open(up to 40 minutes).I ran a Profiler trace...
View ArticleMigrating from SQL Server Express 2012 to SQL Server 2012
Hello, I am running SQL Server Express 2012 on a Virtual Machine for my learning box.My work load has brought me to the place where I need to be using the full blown SQL.I have backed up my databases...
View ArticleTransactions and stored procedures
Hello, I would like to know if using transactions implicitly implies that the tables/views used in the transaction are locked and can not be modified by another transaction: I have two stored...
View ArticleAdding security to a linked server
Adding security to a linked serverWe have a linked server that has an attached linked server signon. The linked server attaches to a DB2 database and the signon is a service account with a password and...
View ArticleDatabase Mail Target smtp server refused connection.
Hi..I'm working with a dev box that I'm configuring Database Mail from.I've run through the setup fromhttps://msdn.microsoft.com/en-us/library/hh245116.aspx...
View ArticleHow to simply remove Partition Schemes or Partition Functions
Hello,Did anyone can instruct how to remove the Partition Schemes & related Partition Functions?When try to remove those Partition, it give out a error 7717 and it can see there are many related...
View ArticleWhile loop or cursor
Hello, allSometime i surf the internet and got confused because today i search for while loop and Cursor difference and mechanism / performance but i got different answers in diffrent pages some says...
View ArticleWhat ever happened to the "What is this?" button?
I'm sure that I could remember using Microsoft applications where there was a button with a question mark - it would tell you what something on your screen was whenever you first clicked the button and...
View ArticleDown grading from Enterprise to Standard Edittion
Good Morning,What is Microsoft's recommendation on down grading from Enterprise to Standard. We have SQL 2008 R2 Enterprise and we are going to SQL 2012 Standard. Any good recommendations would be...
View ArticleLock request time out period exceeded. Error 1222
Hello experts. Late Friday I started getting these messages.I don't think I've ever seen this before, but I've been getting this all day long. All I can think of, is that on Friday, late in the day,...
View ArticleI need sql query please help me out
I have two databases 1) erp 2) edusourceIn erp database i have table master tables and columns like RecordId , value type ,Feildtext,description,Meaining,parentid etc data stores based on value...
View ArticleQuery to get free space of databases
Hi guys,I'm very new to SQL servers and it's not my day to day business at all, and yet as fortune has it, I needed to so something and It caught me off guard.To make a long story short, I'm trying to...
View ArticleDatabase restore failed becuse mdf cannot be overwritten. It is being used by...
Hi, I have a two SQL 2012 databases in Development Environment as below:1. LT_MSCRM (Main Development Database; Same database name is used across Testing and Live servers)2. LTTEST_MSCRM (Just Created...
View ArticleCreating Sessionstate Database
Dear Expert, I have SQLServer 2008R2 and Server already has 1 sessiondb which are using for different site and now I need one more sessionDB in SQLServer2008R2. Please provide the Steps to create...
View Articlemaximum value from a comma separated column in sql
Hello All,Recently i face a problem. I need to get max value from a comma separate column in sql. I can do it manualy bt not sure is it possible dynamical. any one can help me to find out.Input :...
View ArticleFetching logic after converting into Date?
Hi,I have a column Date1 which is a DATETIME datatype. First i give the following line in where clause "Date1 between '2014-05-05 00:00:00' and '2014-05-05 00:00:00'" After this it fetches only those...
View Article