..........//
cmd.CommandText = "Delete @Table" ;
cmd.CommandType = System.Data.CommandType.Text;
cmd.Parameters.AddWithValue("@Table", table);
-------------//
My cuestion is why i can�t call in this way ?
Thanks in advanced.
Regards,
Christian Resma Helle
http://christian-helle.blogspot.com
Any idea ?
thanks!
"Christian Resma Helle" <xtia...@gmail.com> escribi� en el mensaje
news:101a95940d248...@msnews.microsoft.com...
So what is the difference between drop and delete the table?
If you want REMOVE TABLE from the database use
drop table name
but if you want REMOVE DATA FROM THE TABLE use
delete from name
Alberto Silva
"Pablo Nogues" <pablo_...@hotmail.com> escreveu na mensagem
news:OC$G3$7YKHA...@TK2MSFTNGP02.phx.gbl...
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4600 (20091112) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4611 (20091116) __________
The message was checked by ESET NOD32 Antivirus.
The problems is when is user a command parameter with the name of my table.
Any idea ?
thanks
"Alberto Silva, MVP" <albert...@mundomovel.removeuntildot.com> escribi�
en el mensaje news:9F81D745-F4EE-4FA5...@microsoft.com...
Alberto Silva
"Pablo Nogues" <pablo_...@hotmail.com> escreveu na mensagem
news:#mez1p4Z...@TK2MSFTNGP02.phx.gbl...
> signature database 4616 (20091117) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4616 (20091117) __________