bet365 UK

wordpress joomla template

May 2013 UG Meet

Written by VidhyaSagar on . Posted in CSSUG

I was planning for a big event on on May but due to some reasons we are not able to proceed as per schedule. Initially we have planned to skip April month UG because of this event. Soon we will reschedule the big event so watch out UG space for more updates. In the mean time let us go on the regular track. May month UG is scheduled on 18th so expecting everyone . Go ahead and register

VN:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Creating Oracle Linked Server in SQL Server

Written by VidhyaSagar on . Posted in DBA

I wrote multiple articles on heterogeneous linked server which helped user to connect to Sybase , SQL Server & MySQL RDBMS platforms. However I missed creating Oracle linked server , many users responded to write an article on this so I decided to complete it. As you know when you create a heterogeneous linked server you need proper driver of the destination RDBMS. I have split this into two sections a.) Installing Oracle Driver and configuring tnsnames.ora file b.) Creating Oracle linked server in SQL Server

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

March 2013 UG Meet

Written by VidhyaSagar on . Posted in CSSUG

March 2013 UG is finally scheduled !! We are stepped into one more month and this month UG is scheduled on 30th March. We hope to see you all again this month with the same energy. Pass this information to your friends who can join the event. We are expecting more participants.
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Retrieve Auditing Configuration Details

Written by VidhyaSagar on . Posted in Scripts

Script to retrieve auditing configuration details in sql server. Auditing feature is released from SQL Server 2008 onward so if you have utilized this feature then you can make use of this script to get quick information about audit configuration.
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

February 2013 UG Meet

Written by VidhyaSagar on . Posted in CSSUG

Thanks to all the participants who came to Jan 2013 UG meeting, we are happy to see you all and hope the same continues to Feb UG meeting. This month UG meet is scheduled on 23rd . Please pass this information to your colleagues and friends who are interested to learn SQL Server. We would also like to hear your feedback about session, speakers, other arrangements etc.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.22_1171]
Rating: +2 (from 2 votes)

Recent Comments

Engin Ardıç

|

Thank you for nice article! That’s so helpful for me.

VidhyaSagar

|

Sure will plan something when you come here

Mohamed Kabiruddin

|

Hi Vidhysagar & Team,
I am happy to hear that the SQL Server User Group in Chennai is active and going strong. I came across your blog and wanted to attend one of your user group meetings.

I am basically a Chennai-ite and work as a Microsoft BI Consultant in Australia. I am an active member of PASS SQL Team in Australia and have also presented for PASS SQL Saturdays in Australia. I visit Chennai almost every year for holidays and I would love to attend one your sessions. I am happy to speak on any particular topic of interest and discuss case studies on some of the projects and the industry in Australia as well.

I recently presented on “Agile BI with SQL Server 2012″ for PASS. I am coming down to Chennai this August 2013 for a fortnight. Please feek free to get in touch.

Cheers,
Mohamed Kabiruddin

admin

|

@aj — Both the scripts are same. In my example I’m passing the output value to a variable. In your example you aren’t passing it instead you make the task failure or success.

ajssis

|

You are creating a lot of extra steps that are not required in the Script task. You fail to see the line right after your code that is
Dts.TaskResult = (int)ScriptResults.Success;

The opposite of this is
Dts.TaskResult = (int)ScriptResults.Failure;

The code you should be using is
// Check if the file exists
if (File.Exists((string)(Dts.Variables["FilePath"].Value)))
{
Dts.TaskResult = (int)ScriptResults.Success;
}
else
{
Dts.TaskResult = (int)ScriptResults.Failure;
}

If the file exists then the Script task result will be “Success”. If the file does not exist the Script task results will be fail.

Then all you do is set the Success direction flow (the green line) to go to your data flow task. If the result is Failure then the Failure direction flow (the red line) will go to your Update error task. Be sure to RIGHT-CLICK the direction flow and select “Failure” from the pop-up menu.

The best bonus by bet365 Ελλάδα 100% for new user.

Full Joomla 3.0 Theme free theme.