I am new to MS SQL. I would like to create a table variable and insert some and and get the data from a java file.

I am able to declare and table variable and insert the data into the table.

But when i try to get "Must declare table name error occurred"

I am using MS SQL Express edition, using jtds.jar for connecting to MSSQL server.

Please help.

Hi,

What do you mean by table variable???

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.