Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

a strange cursored query [to be made with an SSMS script]

$
0
0

let's  hypothesize that my db has

1) a table named anag with schema

int  ID

CStringA description

2) a set of table with names fxxx where xxxx is THE CONTENT of the description field of the previous table  all with schema

bigint (possibly unsigned)  id_f;

CStringA wrd;

int lng;

with indexes on wrd+lng and id_f

the technique with which each of them is updated implies creation of a temporary , selection of data from a large table into the temp and comparison ( for whom has my DB available these are the "formariomisto" table and the "formexxx" tables )

it would be very sympathetic if i could store two procedures one to create the temp and the other one to make population and comparison

is there anyway to do this serially for all tables CHANGING THE NAMES inside SSMS or SQL server 2008 ??? [informix back when it existed gave it ]


claudio cannella


Viewing all articles
Browse latest Browse all 15694

Trending Articles