Welcome -
Guest!
Login
/
Register Now
|
Search:
Home
Articles
Forum
Interview FAQ
Activities
News
Videos
Poll
Links
People
Groups
SQL Server Articles
Submit Article
Home
»
Articles
»
SQL Server
»
Configuration Functions
RSS Feeds
@@TEXTSIZE - TEXTSIZE Function
Posted By:
Sarita Patel
Category:
SQL Server
Views:
1643
This article explains about @@TEXTSIZE function in sql server with examples.
@@TEXTSIZE function is used to get current value of TEXTSIZE option of the SET statement. It specifies maximum length of text or image data in bytes that a SELECT statement returns. The default size is 4096 bytes.
Syntax of @@TEXTSIZE Function :
@@TEXTSIZE
Return type
of @@TEXTSIZE function is integer.
Examples of @@TEXTSIZE Function :
Example 1 : Use of @@TEXTSIZE function in select clause
SELECT
@@TEXTSIZE
Output
2147483647
Above example returns max length of text or image data in bytes.
Example 2 : Use of @@TEXTSIZE function after setting TEXTSIZE variable value in select clause
SET TEXTSIZE
2147483640
SELECT
@@TEXTSIZE
Output
2147483640
SET statement modifies TEXTSIZE variable value and @@TEXTSIZE displays it in select statement.
Share:
Previous Post:
@@MAX_CONNECTIONS - MAX_CONNECTIONS Function
Next Post:
@@MAX_PRECISION - MAX_PRECISION Function
Didn't find what you were looking for? Find more on
@@TEXTSIZE - TEXTSIZE Function
Or get
search suggestion and latest updates
.
Sarita Patel
author of @@TEXTSIZE - TEXTSIZE Function is from
United States
.
View All Articles
Related Articles and Code:
Example 4 of using function and local variables in functions
Program of nesting member functions, private member functions and array of objects
Program which creates an Array of character. Make one function with one argument as a character and that function throw a user defined exception
Program to read numbers from two files using fscanf function and write it in another file using fprintf function in ascending order
Write a function to perform string operation i.e. split, join, length, substring using pointer without using any string function
FUNCTION XSTRCHR() WHICH SCANS A STRING FROM START TO END IN SEARCH OF A CHARACTER
Program to concatenate of two strings without using strcat function
Program to copy one string s2 to another string s1 using strcopy function from string.h
Program to copy one string s2 to another string s1 without using strcopy function
Program of that provides an example of function overloading
Program that provides an example of functions with default arguments
Program that provides an example of function returning object
Program that provides an example of call by value for functions
Program of declaration of default arguments during creation of function
FUNCTION WITH ALIAS NAME OR REFERENCE VARIABLE IN C++
PROGRAM THAT PROVIDES AN EXAMPLE OF GETLINE FUNCTION
Program of inline function
Program of inline function
Program that provides an example of return by reference from functions
Function to find the binary equivalent of a given decimal integer and display it
Other Interesting Articles in SQL Server:
LTRIM Function
ROUND Function
GROUPING Function
CASE Expression
STUFF Function
NULLIF Function
@@IDENTITY - IDENTITY Function
QUOTENAME Function
Max Function
DIFFERENCE Function
FILE_ID Function
OBJECT_ID Function
fn_trace_getfilterinfo Function
IS_MEMBER Function
FILEPROPERTY Function
@@ROWCOUNT - ROWCOUNT Function
DATEADD Function
IDENTITY() Function
HOST_ID
COS Function
Please enter your Comment
*
*
Comment should be atleast 30 Characters.
Please put code inside [Code] your code [/Code].
Please login to post comment
No Comment Found, Be the First to post comment!
SQL Server
View All
Aggregate Functions
Analytical Functions
Configuration Function...
Constraints
Cursor
Cursor Functions
Data Control Language
Data Definition Lang
Data Manipulation Lang
Data Type
Database
Date Time Functions
Functions
Index
Interview FAQ
Joins
Math Functions
Meta Data Functions
Miscellaneous
Operator
Rowset Functions
Security Functions
Select Query
Sequence
Stored Procedures
String Functions
Sub Query
System Functions
System Statistical Fun...
Text and Image Functio...
Transaction Control La...
Trigger
View
Assembly Language
Artificial Intelligence
C Programming
C++ Programming
Visual C++
OOAD
Cobol
Java
Asp.net MVC
Rest and WCF Services
Entity Framework
Knockout.Js
Unix / Linux / Ubuntu
Networking
OOPs Concept
HTML
Dos
SQL
System Analysis & Design
Gadgets
Internet
CSS
Javascript
.Net Framework
Asp.net
C#
VB.Net
Python
Perl
Oracle
Software Engineering
RDBMS Terms
AJAX Framework
Design Pattern
UML
WPF
WCF
SEO
PowerShell
Visual Studio
WWF
BizTalk Server
Azure
General
Testing
Online Certifications
PHP
My SQL
LinQ
Project Management
Silverlight
XML
MS Office
Windows OS
DHTML
Sharepoint