Stored Procedure
I have a status matrix for sending email. With few status like Activated, completed Etc. Users are allowed to change the status For example. User can change Activated status to complete based on some...
View ArticleAppend SQL Table with SSIS Package
Dear ExpertI have created table having transaction of Jan-2015, and every day i am getting report from SAP (in excel format to may outlook email id) for till date transaction (i.e. from 01-01-2015 to...
View ArticleMAINTAIN STATe OF TABLE ON THREE SEPARATE INSTANCES IN THREE SEPARATE...
the idea is we have a table that has available coupon codes from there different locations. I need to select from all three environments and get the top one that has UsedFlag<>1. i then need to...
View ArticleSQL SERVER Login
Hi Experts.I have got the error “a network related or instance specific error occurred sql server 2012 “.I have enabled tcp/ip, restarted the services. The sql server service is getting stopped even...
View ArticleSQL date code question
Good evening, Not sure if this is the correct forum to post this in as I'm farely new to SQL. My question is more about SQL Teradata code and it seems like it'd be a fairly simple answer, but I can't...
View ArticleChange Data Capture
Hi All,I am trying to use change data capture to load the data into the secondtable from table 1 which is coming from UI. What will be the minimum latency??? Can we use incase of latency less than 5...
View ArticleList of institutes more than half of accepted applicants
I have 2 tables:tbl1: InstituteID, nametbl2 ApplicantID, InstituteID ,Applicant_Name, address, city, state, status ** Status field contains value A for acceptance or R for rejectedI need help with...
View ArticleAutomating random inserts into a memory optimized table
HiI have this tableCREATE TABLE [Sales].[Test_inmem]( [c1] [int] NOT NULL, [c2] [nvarchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [ModifiedDate] [datetime2](7) NOT NULL CONSTRAINT...
View ArticleeInvoice Austria
Hello!I`m new to programming with XML.What I have to do is write a script which produces an XML-string from an invoice. The problem is that it has to work with 2 discounts. And I don´t know how to do...
View ArticleIs it possible to embed a parameter in the name of stored procedure that's...
I have some code that I need to run every quarter. I have many that are similar to this one so I wanted to input two parameters rather than searching and replacing the values. I have another stored...
View Articlei am trying to insert data into sql table using c# ssis script task +very...
i am trying to insert data into sql table using c# ssis script task .. I am pasting below querry.It is not working I am getting connection issue . any help on this how to insert data. I have question...
View Article1285 Muscle Gain Muscle And Weight Pills
You'll undergo suitable [url=http://www.healthcaresup.com/1285-muscle/]1285 Muscle[/url] dietetic advice, hot follow-up tutelage and give have an possibility of effort the medication beefiness...
View Articlesuggestion here....
suggestion here....[url=https://www.facebook.com/KingsmanTheSecretService4K]Watch Kingsman The Secret Service Online[/url][url=https://www.facebook.com/FiftyShadesOfGreyOnline4K]Watch Fifty Shades of...
View ArticleBCP in tab separated file to a table
Hello guysI am trying to bcp a log file into a table. Fields are "tab" separated and rows are "crlf" separated.The rows of the file are uneven, in the sense, one row might have 35 tabs and the next one...
View ArticleDuplicate Record results on 2 one to many tables!!!
Hi,I hope i'm doing this correctly.I have 3 TablesTableA - TAID, Name, LastNameTableB - MaleFriendsName, MaleFriendsLastName [One to many]TableC - FemaleFriendsName, FemaleFriendsLastName [one to...
View ArticleCASE vs ISNULL? Which is faster?
Hello everybody,I have a task to be accomplished at work and would like to ask you a question about it. To give you a little background, there is a CRM system with SQL server as its back-end. The CRM...
View ArticleCalculating Concurrent Users in a Database?
I am researching this and playing with using the syss.sysprocesses view and counting the dbid column. I would most likely want to store this information in a table with a date/time stamp because we...
View ArticleFind Table in a linked server
I have multiple linked servers and trying to find if a table (approximate table name) exists in one of the linked servers.I have a code to find it in local DB....how can I modify to include all linked...
View ArticleEncryption and data length limitations
I'm having an issue in encrypting large documents. I know that previous editions ENCRYPTBYKEY had a maximum size of 8,000 byte limitation. Does SQL Server 2014 have any new features that overcomes this...
View ArticlePassing Malformed email address to Send Mail Task
Hello all. I am implementing a fax solution (Right Fax) and pulling email information from a table and passing into a variable. In order to send out a fax via email, the syntax is in the following...
View Article