Click here to Skip to main content
15,920,053 members
Home / Discussions / Database
   

Database

 
QuestionHow to Group By all columns but have Rollup only on few columns Pin
guydebell30-Nov-09 23:10
guydebell30-Nov-09 23:10 
AnswerRe: How to Group By all columns but have Rollup only on few columns [modified] Pin
Niladri_Biswas30-Nov-09 23:33
Niladri_Biswas30-Nov-09 23:33 
GeneralRe: How to Group By all columns but have Rollup only on few columns Pin
guydebell1-Dec-09 1:05
guydebell1-Dec-09 1:05 
QuestionHow to connect/disconnect users in sql server. Pin
Ashish Kumar Vyas30-Nov-09 20:13
Ashish Kumar Vyas30-Nov-09 20:13 
AnswerRe: How to connect/disconnect users in sql server. Pin
Ashfield30-Nov-09 20:57
Ashfield30-Nov-09 20:57 
Questioninserting multiple rows Pin
arun_pk30-Nov-09 18:07
arun_pk30-Nov-09 18:07 
AnswerRe: inserting multiple rows Pin
_Damian S_30-Nov-09 18:18
professional_Damian S_30-Nov-09 18:18 
GeneralRe: inserting multiple rows Pin
arun_pk30-Nov-09 18:21
arun_pk30-Nov-09 18:21 
GeneralRe: inserting multiple rows Pin
dan!sh 30-Nov-09 18:32
professional dan!sh 30-Nov-09 18:32 
GeneralRe: inserting multiple rows Pin
arun_pk30-Nov-09 18:36
arun_pk30-Nov-09 18:36 
GeneralRe: inserting multiple rows Pin
_Damian S_30-Nov-09 18:37
professional_Damian S_30-Nov-09 18:37 
GeneralRe: inserting multiple rows Pin
_Damian S_30-Nov-09 18:37
professional_Damian S_30-Nov-09 18:37 
GeneralRe: inserting multiple rows Pin
dan!sh 30-Nov-09 18:57
professional dan!sh 30-Nov-09 18:57 
GeneralRe: inserting multiple rows Pin
_Damian S_30-Nov-09 18:36
professional_Damian S_30-Nov-09 18:36 
GeneralRe: inserting multiple rows Pin
arun_pk30-Nov-09 18:52
arun_pk30-Nov-09 18:52 
GeneralRe: inserting multiple rows Pin
_Damian S_30-Nov-09 18:54
professional_Damian S_30-Nov-09 18:54 
GeneralRe: inserting multiple rows Pin
dan!sh 30-Nov-09 19:02
professional dan!sh 30-Nov-09 19:02 
AnswerRe: inserting multiple rows Pin
Niladri_Biswas30-Nov-09 20:06
Niladri_Biswas30-Nov-09 20:06 
GeneralRe: inserting multiple rows Pin
arun_pk30-Nov-09 20:51
arun_pk30-Nov-09 20:51 
QuestionHow do I bulk insert a datastream online? Pin
James Shao30-Nov-09 14:20
James Shao30-Nov-09 14:20 
AnswerRe: How do I bulk insert a datastream online? Pin
T210230-Nov-09 16:36
T210230-Nov-09 16:36 
QuestionNeed help with strange behavior of SQL Server Express Pin
James Shao30-Nov-09 13:24
James Shao30-Nov-09 13:24 
I work with both SQL Server Express 2008 and Microsoft Visual Web Studio Express 2008. However the two programs don't seem to be "in sync" properly. Sniff | :^)

Probably this is because I set up the database wrong, but I'm not sure. I first add a new database and a table in VWD (Visual Web), which creates two files, a MDF and a log file under
Documents\VisualWebStudio2008Express\Websites\Website\APP folder.

Next, I tried attaching that database file in SQL Server Management Studio Express. Since the Express version could not access any document saved under My Documents (which I later found out), I copied the two files and pasted them directly under my C:\ directory, and successfully attached the database into SQL Server Management by pointing its path to the database under C:\.

Now here's where all the weird things started happening.

1. The file path of the newly attached database in SQL Server Management Studio shows that it's now pointing to
Documents\VisualWebStudio2008Express\Websites\Website\APP folder
instead of C:\, which was where I originally pointed to. Hmm, strange...

2. To test it out, I inserted some data into the database via SQL Server, and when going back to VWD and opening up the table, surprisingly the file is updated accordingly. Confused | :confused:

3. Thinking that I wouldn't need the two files in C:\ anymore, I deleted them. But now going back to SQL Server, I found that the database is now gone! OMG | :OMG: Of course in VWD I could still open the database because it's pointing to the file under Documents\VisualWebStudio....

This is all very confusing, and I couldn't figure out what's pointing at what actually. Confused | :confused:

Could you guys please help me out? I'd greatly appreciate it.

Thanks!!
AnswerRe: Need help with strange behavior of SQL Server Express Pin
T210230-Nov-09 16:34
T210230-Nov-09 16:34 
GeneralRe: Need help with strange behavior of SQL Server Express Pin
James Shao30-Nov-09 20:33
James Shao30-Nov-09 20:33 
Questioncomparing tables in SQL 2008 Pin
AndyInUK30-Nov-09 6:38
AndyInUK30-Nov-09 6:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.