Write some T-SQL script

Completed Posted Mar 30, 2016 Paid on delivery
Completed Paid on delivery

This is a small project for testing and leading to long term project.

You need to provide working script in T-SQL that demonstrates each of these questions.

Suggested criteria for your answers:

• Use an OOP approach with all programming code encapsulated within methods.

• Avoid using "[login to view URL]", "Alert", "out" or any other direct-to-screen methods.

• Ensure all code is production-ready/release-quality. In other words, use the same standards, conventions, and quality that you deem acceptable to be used if you were working on the job.

• Keep your code as efficient as possible as you will be evaluated on this.

1) Write a function that reverses the order of words in a sentence.

2) Write a function that counts the number of primes in the range [1-N].

(A natural number is called a prime, a prime number or just prime if it has exactly two distinct divisors. Therefore, 1 is not prime number, since it has only one divisor, namely 1.)

3) Write a function f(a, b) which takes two character string arguments and returns a string containing only the characters found in both strings.

.NET ASP.NET C# Programming SQL Website Design

Project ID: #10090668

About the project

3 proposals Remote project Active Mar 30, 2016

Awarded to:

nikmah344

As per our discussion on chat , I have shown you sql output of all three tasks. So please accept this

$55 CAD in 1 day
(44 Reviews)
6.1

3 freelancers are bidding on average $70 for this job

agilepksolutions

Hi, I’ve had a good look at your project description and I’m very interested in providing a solution. I have 4+ hands on experience on developing quality web solutions as well as desktop standalone solutions. I u More

$100 CAD in 3 days
(130 Reviews)
8.2
vinaysinghh

A proposal has not yet been provided

$55 CAD in 1 day
(31 Reviews)
4.9