I am doing some weekend coding exercises. I have a table that contains some information about, say, a customer or user. Now I want to store images for this user. I have two choices:
Save the image from user class to the same table that contains other user information.
Save the image to a new table which I can create on separate filegroup in the db and put id of image in user table (or put user id in images table).
Which is the best approach of these two, and will perform better?