Viewing 15 posts - 166 through 180 (of 187 total)
I believe that in order to do the dir command on a folder you only need to have Read permissions. I could be wrong but that is my recollection;
January 14, 2009 at 12:23 pm
SQL_Easy_btn? (1/14/2009)
PASSWORD = { password | @password_variable }
instead of
MEDIAPASSWORD = { mediapassword | @mediapassword_variable }
It may be a long shot but I am sure it wouldnt...
January 14, 2009 at 9:57 am
JMO, but I would say this depends on how the non-clustereds you are creating are being used (meaning are they covering indexes or do you have to end up doing...
January 14, 2009 at 9:12 am
I just did a simple test with the following on my own machine and it worked fine.
Backup Database test
to disk='c:\Backups\test.bak'
with Password = 'pwd1'
Restore database test1
from disk='c:\Backups\test.bak'
With Password = 'pwd1',
move 'test'...
January 14, 2009 at 8:53 am
There can only be one owner (creator of the database), and I actually was not aware that you could change it through SSMS (though I assume there is a backend...
January 14, 2009 at 8:43 am
You could create a global temp table (##) that had the same format as the output of a single query. Within your sp_msforeachdb you would do an insert...
January 14, 2009 at 7:48 am
I have frequently seen situations where linked servers within joins (as you have here) do not perform the way that they "should". The optimizer (especially in SQL 2000) has...
January 13, 2009 at 2:59 pm
Something like
select convert(varchar(10), yourdate, 101), count(*)
from #tbl1
group by convert(varchar(10), yourdate, 101)
should get you what you need. Not the most efficient code but it should work to get data...
January 12, 2009 at 3:43 pm
Kimberly Tripp has a good whitepaper on 2005 Partitioning
http://msdn.microsoft.com/en-us/library/ms345146.aspx
It does not specifically go into what you should do for OLTP partitioning (not in a top 10 things kind of way),...
January 12, 2009 at 3:37 pm
RBarryYoung (1/8/2009)
There are several ways to strip the time out, here is one:
select cast(floor(cast(getdate() as Float)) as datetime)
I had always used
select cast(convert(char(10), getdate(), 101) as datetime)
but this way is...
January 8, 2009 at 12:32 pm
DBA (1/8/2009)
January 8, 2009 at 10:51 am
Micheal Young (1/8/2009)
January 8, 2009 at 10:23 am
If you do a Full Backup of a SQL 2008 database that has FileStreams enabled, it does backup that file stream data for you as part of the native SQL...
January 8, 2009 at 10:11 am
Erin (1/8/2009)
Unfortunately updates are being done as inline SQL. Perhaps a trigger that accounts for where the SQL command is coming from would work.
You certainly could create triggers for...
January 8, 2009 at 8:36 am
CrazyDBA (1/8/2009)
well changing code is another problem as it is handle by...
January 8, 2009 at 8:26 am
Viewing 15 posts - 166 through 180 (of 187 total)