class student
{
public string name;
public student(string a)
{
name=a;
}
}
what will be the output of the class in cts?As of your declaration -- nothing.
This is just the constructor for the class ?!
HTH, jens Suessmeyer.|||Hello Aditya,
> class student
> {
> public string name;
> public student(string a)
> {
> name=a;
> }
> }
> what will be the output of the class in cts?
If you're asking, "what does an instance of this class look like when I sele
ct
it from a table", that'll depend on the actual data, but it should be a stri
ng
of hexidecimal values.
If you're asking, "what do I get when I declare a T-SQL variable of this
type," you get get nothing because this class doesn't implement the INullabl
e
interface which is required for UDTs in SQL Server 2005.
Otherwise, I'm not clear that you're asking...
Thank you,
Kent Tegels
DevelopMentor
http://staff.develop.com/ktegels/
Tuesday, March 6, 2012
.NET Complication (CTS)
Labels:
123nameawhat,
class,
complication,
cts,
database,
microsoft,
mysql,
namepublic,
net,
oracle,
output,
server,
sql,
string,
student,
student123public
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment