Viewing 15 posts - 1 through 15 (of 56 total)
The real joins actually have four other parts. It seemed unrealistic to post the entire schema and would have taken an age to anonymise.
The originally suggested solution appears to work...
June 25, 2015 at 8:54 am
Sorry, just typed in a simulation of what I actually have. Group is there 🙂
Nice thinking. I was trying to avoid writing a ton of unions, I'll try your suggestion.
June 25, 2015 at 8:36 am
Okay, ignore me, I've got to the bottom of it.
The Script Task contained a String.Format, which used a variable value as the format. This needed to be reset back...
July 1, 2013 at 8:07 am
sqlquest2575 (4/23/2012)
Try one thing...just change the competibility mode to 100 (SQL2008) since you are using sql 2008 and then try to shrink the file
This was already the case.
April 23, 2012 at 8:45 am
CraigIW (4/20/2012)
GilaMonster (4/20/2012)
DBCC ShrinkFile (2, 1000)It's now actually doing something using this command! 🙂
I'm not sure how long this will take though.
It took about three minutes 🙂
Thanks Gail, this worked....
April 20, 2012 at 9:27 am
GilaMonster (4/20/2012)
DBCC ShrinkFile (2, 1000)
It's now actually doing something using this command! 🙂
I'm not sure how long this will take though.
April 20, 2012 at 9:22 am
Yes, the file is there at that path.
April 20, 2012 at 9:21 am
Ha, yes. I just treble-checked and added a USE to be sure. I wish it was that simple 🙂
April 20, 2012 at 9:05 am
That basically gives the same error as I get in the UI :/
"Could not locate file 'NewArchiveData_log' for database 'ArchiveData' in sys.database_files. The file either does not exist, or was...
April 20, 2012 at 8:55 am
Results:
namephysical_namefile_guidfile_idtype
NewArchiveDataF:\Data\ArchiveData.mdfE4906318-99EC-4E9A-9BE2-EFEE790AACD710
NewArchiveData_logF:\Data\ArchiveData_log.ldfF0E37EDF-F3BB-468E-B00C-7DA012C5372C21
April 20, 2012 at 8:35 am
I was sick of creating SSIS packages, especially for something that should be quite simple, and wanted to try
the sp_send_dbmail proc that John pointed out.
The proc worked...
April 20, 2012 at 7:27 am
Hi John,
I just didn't know about that system proc. Thanks!
April 20, 2012 at 6:25 am
I'm going to completely turn this around now and say, I don't want to capture the result and email a file, I want to show the result in the body...
April 20, 2012 at 6:13 am
Eugene Elutin (3/12/2012)
Also, you can try to split your query in two parts.
First filtering out everything...
March 26, 2012 at 8:46 am
Ed B (3/14/2012)
CraigIW (3/12/2012)
Updt:
Though it does seem to be a lot faster on my 32bit SQL 2008 development desktop than it is on the production server :/
Did you...
March 14, 2012 at 9:38 am
Viewing 15 posts - 1 through 15 (of 56 total)