UrbanPro

Take Tuition from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Hi All, I have SQL query which is set to a varchar(max) variable. But varchar(max) takes 8000 characterds, now how can I store this select statement in a variable? Text datatype results in error stating it cannot be used in local variable. Can anyone provide the solution?? Thanks in Advance!!!!

Asked by Last Modified  

4 Answers

Learn Tuition

Follow 0
Answer

Please enter your answer

Tutor

ok
Comments

instead of one query break it in to sub query and then try
Comments

TINYTEXT 255 (+1 byte overhead) TEXT 64K - 1 (+2 bytes overhead) MEDIUMTEXT 16M - 1 (+3 bytes overhead) LONGTEXT 4G - 1 (+4 bytes overhead)
Comments

Tutor

You can store your query by parts in multiple variables and while executing that query append these variables.
Comments

View 2 more Answers

Related Questions

What's galvanic cell?

It is an electrochemical cell which converts the chemical energy of cell into electrical energy. It is also called a voltaic cell.
Shankarashettigopi
A refrigerator is marked for sale at Rs. 17600 inclusive of sales tax at the rate of 10%. Calculate the sales tax on the refrigerator?
Let the price of the refrigerator without sales tax = P. Here, the selling price S = 17600 and the rate of sales tax i.e., r = 10 S = P(1 + r/100) 1700= P(1 + 10/100) P * 11/10 = Rs. 17600 Therefore,...
Udaybhan
0 0
7
what is the difference between kinetic energy and potential energy ?
Kinetic energy is energy possessed by a body by virtue of its movement. Potential energy is the energy possessed by a body by virtue of its position or state. While kinetic energy of an object is relative...
Sandeep Kumar
0 0
8

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

An Interesting discussion about malloc( ) and calloc( )
What are malloc( ) and calloc( )? Simply putting they are the predefined functions in C language. Malloc( ) and calloc( ) are two such functions which are used for more or less identical purpose and...

Why GST May Boost Gold Smuggling, Illegal Jewellery Sales?
Mumbai: A hike in taxes on gold under GST (Goods and Services Tax) could stoke under-the-counter buying and drive up appetite for precious metal smuggled into the country, where millions of people store...
F

Key to Success in Mathematics
Following are keys to success in any mathematics exam: 1. Learn how formulas are derived. 2. Types of Interpretations of formulas. 3. Selected Examples to represent types of problems. 4. Good books...

The Best Option JavaScript Language For Developers
We already know about JavaScript. But today I will be discussing JavaScript features and JavaScript development process. I was wonder about JavaScript last 10 years. Because JavaScript can give us frontend...

What is Mathematics?
This is the question that is generally asked for students. So according to me ," mathematics is completely the study of nature. Mathematics is everywhere, in physics, in chemistry and in our daily life....
T

Tushar Sisodia

0 0
0

Recommended Articles

E-learning is not just about delivering lessons online. It has a much broader scope that goes beyond manual paper or PowerPoint Presentations. To understand the reach of E-learning and how the whole process works in developing the Educational system, we will discuss a few points here. Let us find out how this new learning...

Read full article >

With the current trend of the world going digital, electronic renaissance is a new movement that is welcomed by the new generation as it helps makes the lives of millions of people easier and convenient. Along with this rapidly changing movement and gaining popularity of Internet, e-Learning is a new tool that emerging...

Read full article >

While schools provide formal education to the children, the home is where they start learning about things informally. Parents think that schools will take the initiative to educate their children. Well, this is partially true, as parents also play an essential role in bringing up their child. For the development of particular...

Read full article >

With the mushrooming of international and private schools, it may seem that the education system of India is healthy. In reality, only 29% of children are sent to the private schools, while the remaining head for government or state funded education. So, to check the reality of Indian education system it is better to look...

Read full article >

Looking for Tuition ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for Tuition Classes?

The best tutors for Tuition Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Take Tuition with the Best Tutors

The best Tutors for Tuition Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more