Quantcast
Channel: SQL Server Integration Services forum
Viewing all 24688 articles
Browse latest View live

Retain Same Connection = True - Property Set up for Connection Manager in SSIS 2012- Please help!

$
0
0

Hi,
    I have a solution with 20 packages.  Target Database is same for all the packages, only target tables are different. All are working fine.
Now,as part of a new requirement,I have to change some logic in one of the packages.I have to create few 'Global Temp Tables' on the fly and populate some data into it and use those tables for update and delete in both control and data flow.
   Since I am creating and using Global tables on the fly, I have to set up 'Delay Validation = True' for the package and the DFTs.
Then, most important thing is, I have to set up 'Retain Same Connection = True' for the 'Target database' connection because only then, I assume,the package will not throw errors like 'Tables are not available'.

My doubt is, if I change the Retain Same Connection = True, will it create any issue for the other packages, as all other packages are using the same connection manager.

I am using SSIS 2012.

Thanks for your help!



   

cannot save settings of processing task OLAP in SSIS

$
0
0

Hello,

I need to change the default processing options to process an OLAP cube but when I change the Processing order into Sequential and Use custom error configuration under tab Dimension key errors it wont save. When I reopen the package it shows the same settings before my change.


-Miracles are easy, the impossible takes a bit longer-

Dervied Column conditional expression can't parse

$
0
0

I have a flat file source that i am trying to parse some SAN data from. I have one column that has size info that is reported as "1.81 GB" or "500 MB". I am trying to created derived columns to have a number with a standard unit (MB). 


I am having trouble with even the most basic conditional statments in the derived column expression.  For example

As soon as i put any type of ? in it will fail.  Ultimately i am try to something similar to the last example here. Read the units (MB,GB, or TB) from the tmp_total_space_units, and if it is GB, take the value from the converted_tmp_total_space (converted from unicode string to numeric in the data flow) multiply the value by 1000 (or 1000000 for TB).

I am always getting this error output

TITLE: Microsoft Visual Studio
------------------------------

Error at Data Flow Task [Derived Column 1 [73]]: Attempt to parse the expression "[tmp_total_space_units]=="GB" ? "test"" failed. The expression might contain an invalid token, an incomplete token, or an invalid element. It might not be well-formed, or might be missing part of a required element such as a parenthesis.

Error at Data Flow Task [Derived Column 1 [73]]: Cannot parse the expression "[tmp_total_space_units]=="GB" ? "test"". The expression was not valid, or there is an out-of-memory error.

Error at Data Flow Task [Derived Column 1 [73]]: The expression "[tmp_total_space_units]=="GB" ? "test"" on "Derived Column 1.Outputs[Derived Column Output].Columns[Derived Column 2]" is not valid.

Error at Data Flow Task [Derived Column 1 [73]]: Failed to set property "Expression" on "Derived Column 1.Outputs[Derived Column Output].Columns[Derived Column 2]".



------------------------------
ADDITIONAL INFORMATION:

Exception from HRESULT: 0xC0204006 (Microsoft.SqlServer.DTSPipelineWrap)

------------------------------
BUTTONS:

OK
------------------------------

I have tried multiple columns with basic if/then type tests. I can do the first/last parts of the statement separately and they parse fine, but when i add the ?, it will error.

loading a csv file with embedded delimiters

$
0
0

I am trying to import a csv file using SSIS (2008 r2).

There is no header row in the file and one of the fields contains multiple commas therefore I am having difficulty in loading a small number of these records where the field contains one of more embedded commas within the text qualifiers (double quotation marks).

I have read a solution which is to make the text qualifier equal to a single set of quotation marks however on trying this it generates an error "The column delimiter for column 73 could not be found". This is the last column in the file  however I have already removed it from the import process as it does not contain any useful data.

Any assistance on this problem would be much appreciated.

thanks

Scott

Issue with Temp tables in SSIS 2012 with RetainSameConnection=true

$
0
0

Hello,

We have few packages written in 2008 and are being upgraded to 2012. Our package mostly uses temp tables during the process.  During initial migration, we faced issue with handling temp table in the OLE Db destination provider and found a solution for the same under 

usage of Temp tables in SSIS 2012

Most of our packages execute fine now. 

we came across a different issue recently. For one of our package, which merges 3 feeds into a temp table and then executes a stored procedure for processing, the package fails intermittently.

Below are properties of SSIS and its components, which you might be interested

* Retainsameconnection for the OLE Db connection manager set to True

* properties of OLEDB Destination 

AccessMode : SQL Command 
CommandTimeOut : 0
SQLCommand : Select * from #tmp

* using SSIS 2012 and SQL OLEDB Native Provider 11 (Provider=SQLNCLI11.1)

* one of the feed is 10MB

During investigation using profiler, found that though I use RetainSameConnection, I often  could see that more than one SPId is used during the scope of SSIS execution and when ever this happens, package fails with below error message 

An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80040E14  Description: "Statement(s) could not be prepared.".

An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80040E14  Description: "Invalid object name '#tmp'."

Now, Why SSIS uses a different SPId during its execution when RetainSameconnection is set to True (note : I have only one OLEDB connection in that package)? 

To simulate the issue, Instead of 10MB file, I used a 500KB file and execute the package twice and all went fine.

Is it because of 10 MB file taking long time to process causing the time out of that OLEDB destionation forcing the SSIS to go for another connection? but remember, CommandTimeout is set to infinite(0) for that OLEDB destination. 

Much appreciated your response. 



ODBC connection to Avaya database

$
0
0

Hi All ,

I created a ODBC connection to Avaya(CMS ) database and tested the connection , It is successful .

Then I created a SSIS package , But it was failing at "Data reader SOURCE"  saying error as  "

Error at Hal[DataReader CMS [1]]: System.Data.Odbc.OdbcException: ERROR [HY000] [Informix][Informix ODBC Driver][-11302] Insufficient Connection information was supplied ~

Please any body has any pointer to help me for this .

Thanks for the help .

Cheers,

Sandy

NEW Edit Script Error

$
0
0

Hi Devs, 

    I get this message thrown when clicking on the EDIT Script button on Script TASK Editor in VS2012. I have installed SSDT tools. How can it be fixed? 

Cheers,

vchandm23.

How to create a SSIS package to delete word documents from local system

$
0
0

Hi All,

How to create a small SSIS package to delete word documents from local system. Word documents might be one or two weeks ago.

Thanks in advance for your help.


Calling Stored Procedure with Windows Authentication SSIS 2012

$
0
0

We are upgrading to SQL Server 2012 and our SSIS Packages are failing with: "The operation cannot be started by an account that uses SQL Server Authentication. Start the operation with an account that uses Windows Authentication. Error on line 215: (SQR 3913) Could not EXECUTE stored procedure."

I understand that we need to change over to Windows Authentication but not sure how to authenticate with windows. Our stored procedures are called from an SQR (Structured Query Reporter)

Here is the code:
begin-procedure Download-Data
EXECUTE DO=LT_REPORT_SSIS_MSG
LT_INTERFACE..LT_AR_CUSTOMER_SSIS $business_unit
INTO &SSIS_MSG char(120)
end-procedure Download-Data

Any help would be greatly appreciated!

SSIS SSDT 2012 Script Task Exception Error

$
0
0

SSIS SSDT 2012 Script Task

3 Read Only Variables defined Package variables

USer::RunDay, User::RunMonth, User::RunYear

1 ReadWrite variable defined package variable

User::RunMonthMinus2

The Script

Public Sub Main()
        Dim lYear As Integer
        Dim lMonth As Integer
        Dim sYear As String
        Dim sMonth As String
        Dim sMonthMinus2 As String
        lYear = Dts.Variables("user::RunYear").Value
        lMonth = Dts.Variables("user::RunMonth").Value
        If lMonth <= 2 Then
            lYear = lYear - 1
            If lMonth = 1 Then
                lMonth = 11
            Else
                If lMonth = 2 Then
                    lMonth = 12
                End If
            End If
        Else
            lMonth = lMonth - 2
        End If
        sMonth = lMonth
        sYear = lYear
        sMonthMinus2 = sYear + "-" + sMonth + "-16"
        Dts.Variables("user::RunMonthMinus2").Value = sMonthMinus2
        Dts.TaskResult = ScriptResults.Success
    End Sub

When I execute it in the debugger I get a pop up error:

DTD Script Task: Runtime Error

DTS Script task has encountered an exception in user code:

Exception has been thrown by target of an invocation.

In the box is a long list of objects, methods, and arguments.

at System.RuntimeMethodHandle.InvokeMethod(arguments)

at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(arguments)

at System.Reflection.RuntimeMethodInfo.Invoke(arguments)

at System.RUntimeType.InvokeMembat System.Runtimee(arguments)

at Microsoft.SQLServer.DTS.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript()

I have SQL Server 2012, VIsual Studio 2012 with SSDT 2012 installed.

Can anyone decipher what the problem is?



XML Source Duplicate _id fields in output

$
0
0

I have a vendor supplied XML File.  I try and load the file using the XML source in SSIS 2012. The file has a vendor supplied XSD file.  When I look at the output I see 2 _id fields with the same name.

One appears to be an id in the file. the other appears to be generated by SSIS.  I have tried to use the advanced editor to change the name but this causes errors.

Soft Configuration

$
0
0

For SSIS in the past, the different environment servers have always been on separate physical servers.  This is no longer true for my current employer.  Dev, QA and Prod are all on the same physical box.

Soooo...  I can no longer use my strategy of a system environment holding the connection string to configuration server and db.

Registry is no good for the same reason.  I am trying to think of another way to do this so that the package can move between environments without any changes.  I appreciate your thoughts.

Bryan


SSIS Script Task Row Output Variables Show Wrong Result

$
0
0

I have a data flow task that reads a database, passes the selected rows through a script task, then the result out of the script task is input to a table.

A bit more detail on what takes place. Input from SQL Server table T1, columns amt1, amt 2. Amt1 and amt2 are defined to the script task as input columns. AmtOut is defined as an output column. All values are integer. Script: If Row.Amt1 >= 30 Row.AmtOut = 0 Else If Row.Amt1 >= 24 and Row.Amt2 >= 70 Row.AmtOut = 0 Else Row.AmtOut = Row.Amt1 End IF End If

Using a data viewer before the script I can see the values coming into the script. A data viewer after the script shows the input and the output values. Based on the input values I should see some zeros in some of the output rows, but the output row values are always the same as Amt1.

I put a break point in the script and stepping through it,

it did what it was supposed to based on the values of Amt1 and Amt2.

I should see some zeros in the output result but there isn't. The values input to the table are all the same as Amt1. What am I missing that the resultant output values do not reflect what is taking place in the script?



Conditional Split Operator not passing data

$
0
0

Hiya Community,

I'm new to this forum so please bear with my novice questions.

I'm trying to load data from flat file into the staging table. In the data flow task, i have to use a conditional split operator to validate some records and i have some conditions typed into the conditional operator and validated. But when i execute the package , there are no records coming out of the operator. May be i'm doing some thing some where that i'm not supposed to ... i added a data viewer but i did not see anything out of place.

ISNULL(SpecimenNbr) || LEN(TRIM(SpecimenNbr) == 0

LEN(SpcEnd) == 0 || (DT_I4)(SpcEnd) < 1

BreedDays < 0

ISNULL(GnrName)

Can someone point me in the right direction please??

Could not find stored procedure 'sp_start_job'

$
0
0

I'm trying to run a ms sql server agent job from within my vb.net code using sp_start_job and getting exception...

Could not find stored procedure 'sp_start_job'.

... so obviously I'm doing something wrong.  My vb code contains is ...

        jobCommand = New SqlCommand("sp_start_job", sqlConn)
        jobCommand.CommandType = CommandType.StoredProcedure
        jobParameter = New SqlParameter("@job_name", SqlDbType.VarChar)
        jobParameter.Direction = ParameterDirection.Input
        jobCommand.Parameters.Add(jobParameter)
        jobParameter.Value = "nameOfServerAgentJob"
        jobCommand.ExecuteNonQuery()

Can someone show me how to run the SQL Server Agent job properly from my vb code?

Thanks tonnes for any help, Roscoe



Calling all SSIS users! May TechNet Gurus announced!

$
0
0

The results for May's TechNet Guru competition have been posted!

http://blogs.technet.com/b/wikininjas/archive/2014/01/16/technet-guru-awards-december-2013.aspx

Congratulations to all our new Gurus for May!

We will be interviewing some of the winners and highlighting their achievements, as the month unfolds.

 

Post your JUNE contributions here:

http://social.technet.microsoft.com/wiki/contents/articles/24692.technet-guru-contributions-for-june-2014.aspx

Read all about June's competition, hopefully in a stickied post, at the top of this forum.

 

Below is a summary of the medal winners for May. The last column being a few of the comments from the judges.

Unfortunately, runners up and their judge feedback comments had to be trimmed from THIS post, to fit into the forum's 60,000 character limit, however the full version is available on TechNet Wiki.

Some articles only just missed out, so we may be returning to discuss those too, in future blogs.
 

Guru Award BizTalk Technical Guru - May 2014  

Gold Award Winner

Peter LindgrenBizTalk 2010: Call SSO from OrchestrationTGN: "I bet a few people will love you for this, I often see this question at the forums, and you answered it well. Good work!"
Mandi Ohlinger: "Great topic and great explanation. It also makes SSO seem less scary :)"
Sandro Pereira: "Very useful sample, well explained with all the necessary code "

Silver Award Winner

boatsellerBizTalk: Using an Orchestration Sync or AsyncSandro Pereira: "Good sample provide by boatseller and well explained."
TGN: "Hey, great work man! This is a well done article and I love it!"

Bronze Award Winner

Steef-Jan WiggersExposing data through BizTalk Service Hybrid ConnectionsSandro Pereira: "Nice article with a good overview about BizTalk Service Hybrid Connections and how you can configure them."
TGN: "Good article, well explained and good pictures. Again Steef-Jan, you know what you're doing!"
Mandi Ohlinger: "Nice set-up overview. "

Guru Award Forefront Identity Manager Technical Guru - May 2014  

Gold Award Winner

Sheldon.JaquayForefront Identity Manager - RCDC - Regular ExpressionAM: "Great contribution! Option C is clever, and the other examples are also a useful reference. Thanks for sharing your work with the community."
Ed Price: "Nice short article. Great topic, and great blend of code, color, and images!"
Søren Granfeldt: "Nice with a little focus on RegEx with FIM and good help for people wanting to have the portal be just a little more company specific"
GO: "Thanks for the article, but the images weren't clear enough."

Silver Award Winner

Scott EastinInstalling Oracle MA for FIM R2 on Windows 2012GO: "EX-CE-LL-EN-T article!"
AM: "Very nice article with clear step-by-step instructions - thanks for putting this together. "
Ed Price: "I love the sections with numbered bullets at the end. They're very clear and easy to read!"

Guru Award Microsoft Azure Technical Guru - May 2014  

Gold Award Winner

João SousaMicrosoft Azure - Remote Debbuging How To?GO: "Clever. Well Explained and written. Thanks! You absolutely deserve the GOLD medal."
Ed Price: "Fantastic topic and great use of images!"

Silver Award Winner

Alex MangThe Move to the New Azure SQL Database TiersEd Price: "Great depth and descriptions! Very timely topic! Lots of collaboration on this article from community members!"
GO: "great article but images are missing"

Bronze Award Winner

Alex MangSeparating Insights Data In Visual Studio Online Application Insights For Production And Staging Cloud ServicesEd Price: "Good descriptions and clarity!"
GO: "great article but images are missing"

Guru Award Microsoft Visio Technical Guru - May 2014  

Gold Award Winner

Mr XHow to export your Orchestrator Runbooks to Visio and Word

Ed Price: "A basic tip, but very helpful. Good job!"
GO: "Thanks for that!"
SR: "Nice "How To" article explaining the basic steps."
AH: "This article is to the point takes a simple tasks and describes it accurately.

Guru Award SharePoint 2010 / 2013 Technical Guru - May 2014  

Gold Award Winner

Dan ChristianBuild a loop workflow using SharePoint 2010Jinchun Chen: "Excellent article. Personally speaking, the biggest challenge is SharePoint Designer workflow is “while-loop”. Many customers had the same scene as this article set. I am sure they are like this article. "
Benoît Jester: "An AWESOME, huge, detailed article by Dan. Did I mention the videos? Thanks Dan!"
GO: "Great article Dan! Thanks!"
Margriet Bruggeman: "Detailed explanation which I admire, but wouldn't be using a vs workflow be more logical in this case?"

Silver Award Winner

Geetanjali AroraExport User Profile Properties using CSOMBenoît Jester: "Great article on this new SharePoint 2013 development capability. I appreciate the code explanations."
GO: "This is a great article. Love the way how you explain it."
Margriet Bruggeman: "I will use this piece of code in the future!"
Jinchun Chen: "Nice. How about customized properties? It would be nice more, if a CSOM script version can be attached. "

Bronze Award Winner

Inderjeet SinghUnable to restore site collection issueGO: "Simple. Good Written. Clear and Clever. Great article."
Margriet Bruggeman: "Quite handy reference for this particular problem"
Benoît Jester: "Good explanation on the site collection deletion process."

Guru Award Small Basic Technical Guru - May 2014  

Gold Award Winner

Philip ConrodProgramming Home Projects with Microsoft Small Basic: Chapter 1: Writing Programs Using Small BasicRZ: "Very systematic introduction."
Ed Price: "Good overview article that covers all the basics!"
Michiel Van Hoorn: "Nice introduction into the history of Basic. Needs to be updated to reflect current support for Windows version (Windows NT? LOL )"

Silver Award Winner

Philip ConrodProgramming Home Projects with Microsoft Small Basic: Chapter 6: Flash Card Math Quiz ProjectMichiel Van Hoorn: "This article (or book chapter) is excellent material to learn how to envision, design and build your program. The actual example program is also very usable."
Ed Price: "I love how this tutorial keeps building on itself as it goes!"

Bronze Award Winner

Nonki TakahashiSmall Basic: VariableRZ: "Very nice explanation of the concept of variables!"
Michiel Van Hoorn: "Clear explanation and not frills"
Ed Price: "Great article with fantastic formatting!"

Guru Award SQL BI and Power BI Technical Guru - May 2014  

Gold Award Winner

Durval RamosSSIS - Event Handling with "OnError" ou "OnTaskFailed"Ed Price: "The images are very helpful! Could use a grammar pass. Great descriptions!"
GO: "This article has everything. A conclusion, reference, see also, other languages section. everybody should write actually like this."
NN: "An interesting topic and article but unfortunately a bit hard to understand due to grammar problems"
PT: "This is a good article on a useful topic. Please have your article reviewed and edited for proper language."

Silver Award Winner

S KamathExpansion of Time dimension in Analysis ServicePT: "Your article is concise and to the point, and contains useful information. It would be good to conclude with a short summary and perhaps compare this technique to others, discussing best practices."
Ed Price: "Good details on Time Dimension. The images help us understand as we go."
GO: "I like this one, but something is missing. Do not know what, but I had a blast reading the other two's. Does not mean that this one is bad, but there is something missing, maybe my knowledge..."
NN: "Good article, but seems to be missing conclusion. It will also benefit from adding See Also section"

Bronze Award Winner

Sherry LiSSAS – Ignore unrelated dimension or notNN: "Good and interesting article based on the blog"
GO: "Wonderful article!"
PT: "This is an important topic and contains helpful information but this is a simple topic that can be explained in fewer words. I found this article to be overly detailed and hard to read. I suggest having it reviewed and edited for proper language."
Ed Price: "Good descriptions. Could be shorter. Good use of images!"

Guru Award SQL Server General and Database Engine Technical Guru - May 2014  

Gold Award Winner

ShankyCurious Case Of Logging In Online and Offline Index Rebuild In Full Recovery ModelJinchun Chen: "Good article. Thank you!"
GO: "One of the best Wiki Articles ever! Thanks buddy!"
DRC: "-- This is a great article which provides in-depth information on internals of Online & Offline rebuild index and Transaction logging. -- The following statement need to be re-written for more clarity. “The less logging can be attributed to the fact that no information about page allocation is logged information about de-allocation is logged please see below figure 13. Also if you compare amount of record returned in this case we had output containing just 64 rows while offline index rebuild had ____ rows.” -- Overall, a great article, thoroughly enjoyed reading it."
NN: "Very interesting article, another great contribution by Shanky"
Ed Price: "Thorough descriptions and great solution! Good article!"

Silver Award Winner

Uwe RickenSQL Server: Be aware of the correct data type for predicates in queriesEd Price: "Incredibly well formatted! Great breakdown of sections!"
GO: "Whoo, this is a wonderful article!"
DRC: "-- This article explains the Query execution behaviour when the Query is not optimally written which could cause increased execution time. Great article. -- This topic is clearly explained and documented using a simple example and sample output which is easy is understand. -- Simple, very well written and great article to read. "
NN: "Very good, easy to understand article and important information to know to all SQL Server developers"

Guru Award System Center Technical Guru - May 2014  

Gold Award Winner

Mr XCentral Management of DSRM password on Domain Controllers using OrchestratorEd Price: "The images really carry you through this article. Great execution!"
GO: "Great article. I like your article Mr X! Thanks for your passion!"
Kevin Holman: "Nice to see real world examples of Orchestrator in action solving problems that all customers have. This was very simple, but provides an excellent solution."

Silver Award Winner

W P ChomakSystem Center Operations Manager 2012 R2 - Customizing E-Mail NotificationsAB: "Easy reading info that can help many"
Ed Price: "Short and sweet. An incredibly valuable topic and needed addition to the Wiki!"
GO: "Clever and well written. Thanks"

Bronze Award Winner

Christoffer SSystem Center Configuration Manager 2012 R2 - Install applications in a task sequence based on AD-GroupsEd Price: "Good mix of code, images, and information. Could use more in-depth descriptions. Great article!"
GO: "Clear and simple! Thank you!"

Guru Award Transact-SQL Technical Guru - May 2014  

Gold Award Winner

Naomi NT-SQL: Random Equal DistributionJinchun Chen: "Nice."
JS: "The crucial thing about such a procedure is to check the data before the randomization and afterwards. You might encounter situations where "John Smith" and "John Meyers" might have exchanged their First names which is technically correct, but logically and obviously wrong. So make sure that there is one additional check afterwards that makes sure that eventual privicy concerns will not survive the random process. Normally this would not happen, but I have already checked this is one of my older blog entries, where we exactly had that problem obfuscating data to make that operational and live data will not be recognized afterwards. http://blogs.msdn.com/b/jenss/archive/2009/04/08/when-is-random-random-enough.aspx In addition to this some attributes are sticky to each other like gender and First Name. You also have to make sure that your distribution might change statistically in relation to other attributes."
Richard Mueller: "Very instructive. Perhaps the See Also section should have more links."
Ed Price: "Great formatting and topic! Could benefit from more descriptions. Great article!"
GO: "Naomi, your article is nice. Simple to understand the 'problem' and execute the 'solution""
Manoj Pandey: "Nice article with a different way to resolve a given problem. I think this can also be done by using NTILE() function. I've added the code in comments section."

Silver Award Winner

Rogge HExtending SYS.Geometry to Utilize Temporal DataGO: "Great article, I enjoyed reading it. Thank you"
Manoj Pandey: "I like the idea, but it took me some more time to understand the overall logic as I'm new to Geo datatypes, Thanks."
JS: "For me not using this sort of things regularly, I don't see the problem and the benefit. I have no doubt that this is a brilliant explanations how to cope with a problem, but for me this is missing yet the red line. More pictures would be helpful describing the problem and outlining the results produced."
Richard Mueller: "Needs more explanation, and perhaps an example. There should be links to relevant references."
Ed Price: "Good job on the opening descriptions! Could benefit from breaking up and explaining the code more. Images and references would be helpful. Good article!"

Bronze Award Winner

Hasham NiazDataCleanUp() Function Implementation in MS SQL ServerJinchun Chen: "Good."
JS: "-Does actually not work for Case senstive areas where I want to remoce certain Upper/lower case characters. This might be not interesting for some people, but is extremely important and relevant to other people. The limitation is that I can´t pass multiple values to be removed from the string, right ? Could this be implemented as well as many people wash out their data from unused / unimportant control characters. "I have tested it on a table which has got more than 11 Million rows and it executed fine returning the correct results. Since this is a scalar function you will notice decrease in performance." Once you want to maintain the old data and keep the new cleaned up one seperately, you could suggest something like persisting the data in a computed column which could be indexed and then help improving the performance. This would not be the case for any adhoc queries though."
Richard Mueller: "Very clever and also very useful. There should be links to references, for example to explain the PATINDEX function."
Ed Price: "Great job on this article! Very clear and well executed! See JS's comments for some thoughts about what's possible. Great article!"
Manoj Pandey: "A good utility Function that I can use and tweak for my future needs, Thanks."

Gold Award Winner

Jaliya UdagedaraCalling WCF Service from a Stored Procedure in Microsoft SQL Server 2012GO: "Gold Winner. For sure!"
Ed Price: "Amazing article! The depth, images, and code formatting make this fantastic!"
NN: "Great article, thorough explanations, great interaction in the comments - very useful tutorial"
Søren Granfeldt: "Nice work."

Silver Award Winner

João SousaASP.NET MVC 5 - Bootstrap 3.0 in 3 StepsGO: "Thanks for that great article"
Ed Price: "Great formatting! Good use of images!"
NN: "Nice introduction to Bootstrap in ASP.MVC project"
Søren Granfeldt: "Just a little more technical explanation would be nice"

Bronze Award Winner

Critical_stopUsing 64-bit shortcuts from a 32-bit applicationNN: "Good and short article, right to the point"
Søren Granfeldt: "Mixing and matching 32/64 bit always seems to give people a hassle. This will help those having issues."
GO: "good one!"
Ed Price: "Good article. Short and sweet."

Guru Award Wiki and Portals Technical Guru - May 2014  

Gold Award Winner

XAML guyTechNet Guru Competition: Judge System ExplanationGO: "No one could do it beter than you Pete! Thanks!"
Richard Mueller: "Excellent explanation of the judging system. Perhaps could use a See Also section."
Ed Price: "Good quote from Shanky in the comments, "Awesome....Kudos to your for your beautiful work" -- Great job!"
NN: "Very good article. It may also benefit from See Also section"

Silver Award Winner

Payman BiukaghazadehTechNet Wiki Persian CouncilGO: "Go Persion GOOO!"
Richard Mueller: "The Persian Council is an excellent idea. The link to "How to Write an Article" should be in a See Also section, along with other articles."
NN: "Great article, missing a link to other portals and councils pages"
Ed Price: "Thank you to Payman and the Persian community for jumping in! The Wiki is warm!"

Bronze Award Winner

Durval RamosWiki: Best Practices for building TechNet Wiki PortalsEd Price: "Fantastic job from Durval on helping us standardize the portals!"
NN: "Good article, but unfortunately a bit hard to read and understand due to bad grammar. "
Richard Mueller: "Excellent and important topic. Grammar still needs work. I like the links and See Also."

Guru Award Windows Phone and Windows Store Apps Technical Guru - May 2014  

Gold Award Winner

Sara SilvaAuthentication using Facebook, Google and Microsoft account in WP8.0 App (MVVM)Ed Price: "Great article! Great code formatting and good use of code comments for descriptions of what your code's doing! Could be improved by breaking out the code with more descriptions in the article (in addition to the code comments). Very in-depth article! "
Peter Laker: "An excellent article, pulling together all the bits you need to make this happen"

Silver Award Winner

SubramanyamRaju.BWindowsPhone Facebook Integration:How to post message/image to FaceBook Fan Page(C#-XAML)Ed Price: "Good topic! Code blocks would help with the formatting. Good job on this article!"
Peter Laker: "Love this, very useful to many I'm sure, thanks!"

Bronze Award Winner

Saad MahmoodCreating a custom control in Expression Blend with Custom Properties (WindowsPhone& Store)Ed Price: "This has a good mix of descriptions and clarity! The images help a lot!"
Peter Laker: "A nice introduction to our beloved Blend. Great work!"

Guru Award Windows Presentation Foundation (WPF) Technical Guru - May 2014  

Gold Award Winner

Magnus (MM8)WPF/MVVM: Merging Cells In a ListViewKJ: "Ah the collectionViewSource -- never used it myself but this looks like a good reference article if I ever needed to..."
GO: "Thank you!"
Ed Price: "Great formatting and good descriptions. Short and sweet! Another fantastic entry from Magnus!"
Peter Laker: "Thank you again Magnus"

Guru Award Windows Server Technical Guru - May 2014  

Gold Award Winner

Mr XHow to implement User Activity Recording for AD-Integrated Critical Servers by combining the use of Group Policy, Powershell and OrchestratorPhilippe Levesque: "Really good information and detailed step."
JH: "brilliant, love how it combines different technologies to achieve a solution, clearly written and well illustrated."
JM: "Another excellent article, thanks again for your many great contributions"
Richard Mueller: "Very creative solution. Great to have such detailed steps and images."
GO: "I like the conclusion. Thanks"

Silver Award Winner

Mr XHow Domain Controllers are located in WindowsGO: "Super article Mr X! Merci!"
JM: "Yet again, excellent article."
Richard Mueller: "Good documentation. An explanation of how the priorities and weights are determined would help. A See Also section would also help."
Philippe Levesque: "Good "In deep" information. Good to know to help diagnose computer problem in AD's site."
JH: "another good article, great diagrams. Some repetition but it does help clarify a complex issue. "

Bronze Award Winner

Mahdi TehraniDetailed Concepts:Secure Channel ExplainedJH: "great article. This fills an important gap in this content space. Editing is a little rough, but diagrams and explanations are clear."
JM: "This is a very good article, however you need to provide more detail in the section on how to fix a broken Channel."
Richard Mueller: "Excellent topic. Grammar needs work. Good images. Could use a See Also section."
Philippe Levesque: "Really good explanation of the secure's channel, I like the debugging step included ! "
GO: "Thanks for this, not everybody know about secure channel."

As mentioned above, runners up and their judge feedback were removed from this forum post, to fit into the forum's 60,000 character limit.

 

A great big thank you to EVERYONE who contributed an article to last month's competition.

Hopefully we will see you ALL again in this month's listings?

As mentioned above, runners up and comments were removed from this post, to fit into the forum's 60,000 character limit.

You will find the complete post, comments and feedback on the main post.

Please join the discussion, add a comment, or suggest future categories.

If you have not yet contributed an article for this month, and you think you can write a more useful, clever, or better produced wiki article than the winners above, here's your chance! :D

More about the TechNet Guru Awards:



#PEJL

Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to the one and onlyTechNet Wiki, for future generations to benefit from! You'll never get archived again!

If you are a member of any user groups, please make sure you list them in the Microsoft User Groups Portal. Microsoft are trying to help promote your groups, and collating them here is the first step.

How to parse a flat file with C#

$
0
0

I need to parse a flat file with data that looks like

01,1235,555
02,2135,558
16,156,15614
16,000,000

You get the idea. Anyway, I'd like to just used a derived column and move on except I need to put a line number on each row as it comes by so the end looks like,

1,01,1235,555
2,02,2135,558
3,16,156,15614
4,16,000,000

I'm trying to do with a script transformation but I can't seem to get the hang of the syntax. I've tried looking at various examples but everybody seems to prefer VB and I'd like to keep all of my packages C#. I've set up my input and my output columns I just need to figure out how to write the code that says something like:

row_number = 1

line_number = row_number
record_type = input.split.get the second data element
data_point_1 = input.split.get the third data element
...

row_number = row_number ++

SSIS in SQL Server 2012

$
0
0

Hi,

I want to try SSIS and SSRS 2014 version. So far I'm not able to figure out which edition of SQL Server 2014 I should download.

I downloaded and installed the SQL Server 2014 evaluation edition but couldn't figure out how to launch SSIS or SSRS.

If SSIS/SSRS is available in any 2012 edition of SQL Server, which is the one.

Request your help.

Thanks


Passing Argument from Execute Process Task (SSIS) to an .exe file

$
0
0

Hi,

I am developing a SSIS package, where I want to execute exe file using Execute Process Task. The parameter for the ,exe file is the output of the SQL query from database.

I am not knowing how to pass the output of the SQL query to the parameter of the Exe file. Can you please let me know how to pass the sql output data as parameter to the exe.

Many Thanks, Thirumalai M

like operator in ssis

$
0
0

how to query  this  SQL statement in

 OLEDB-source - SQLcommand  or SQL command from variable

select  * from table1 where name like '%chel%'

Viewing all 24688 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>