Microsoft
Software
Hardware
Network
Question : insert distinct and fill other fields
I need to write an insert with one specific ID and then default the other initial values to false or empty.
So, my data would look like..
ID field1 field2 field3
2343 false false false
333 false false false
9383 false false false
Originally, I had..
insert into tblA (ID, 'False', 'False', 'False')
select distinct ID, field1, field2, field3
from......
At first I thought it worked, but the ID started pulling in duplicates. So, then I figured the whole row has to be distinct.
Now, I have insert into tblA (ID)
select distinct ID
from.....
It works, but I need to enter my default ('False') values into the other fields?
Answer : insert distinct and fill other fields
have you tried:
netstat -ban
Random Solutions
printer not using default settings
PHP Sessions
Autocomplete
Need help resolving a issue with the home folder not being mapped to client from 2003 DC
Google Apps Gmail and legacy MS Exchange (SBS) 2003 Synchronisation
Export Data to XML File from SQL Database
Download conexant fusion 878a drivers for Windows 7
I frequently get BSOD with error message DRIVER_IRQL-NOT_LESS_OR_EQ
UAL on windows vista/7
How to use the processing core library to create a PIMAGE in Java Netbeans?
Aside from Flowplayer, recommend a good video/audio player for the web?