Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding more fields into a dataset
Message
De
22/05/2013 10:31:51
 
 
À
22/05/2013 10:27:05
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01574472
Message ID:
01574483
Vues:
32
>>not sure if I have a correct mental picture, but assuming you have a already consolidated table you currently plan to get the missing data from, might it not be easier to get a copy from there of all records with pk in [PkFoundInDataset] itno a temp table and only update this temp table with existing/found values from the dataset ?
>
>Yes, this is exactly the goal.
>
>I just do not want to go with a syntax such as:
>
>
>SELECT Table.FirstName
> FROM Table
> WHERE Table.PrimaryKey=1 OR Table.PrimaryKey=2 OR Table.PrimaryKey=3 OR Table.PrimaryKey=4
>
>
>If I have 2034 records, that will be long. I am sure there is a better syntax, such as an inlist approach, at the SQL command.

Gregory looked sooner ;-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform