vb.net - How can i create a table in sql server 2005 that is totally new for me..? -


i have 1 problem in want know how can create table can used end solution in vb 2010.

i want know when choose data source in vb.net sql server want choose....simply can used because there 2 or 3 little different name.....

i'm struggling understand question, in effort help: i'm guessing want programmatically create table used other parts of vb application, need ensure table name unique...? if i'm right in assumption, see below.

you can use query:

select * information_schema.tables table_type = 'base table' 

to list of table names in database. can compare table_name column values desired table name. if exists already, change name adding differentiator, eg: mytable, mytable1, mytable2 etc.

alternatively, sql server accepts guids table names.

disclaimer: imho, if table not going temporary deciding table names in manner pretty ugly solution , lacks supportability.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -