Viewing 15 posts - 8,626 through 8,640 (of 13,460 total)
doesn't sound right, as that would require a corrupted database...
lets go back to basics...you dropped some tables...are you sure it was THAT database, and not another database that they were...
October 5, 2010 at 7:53 am
terisita i've usually used a server side trace to capture all the DML queries, then order the results on some of the columns in the trace to see whathas high...
October 4, 2010 at 11:08 am
another option is to use STUFF to insert 01/20 into the middle of 02/11 to produce 02/01/2011
here's a simple example :
/*--Results:
2/01/2014
12/01/2016
4/01/2023
1/01/2018
12/01/2018
*/
SELECT STUFF(TheFinalResult,CHARINDEX('/',TheFinalResult) + 1,0,'01/20') As TheFinalDate
FROM (
SELECT '2/14'...
October 4, 2010 at 10:46 am
there's a large number of scripts in the contribution section for this;
I've used "The Ultimate Duplicate Index Finder" myself;
take a look here:
http://www.sqlservercentral.com/search/?q=duplicate+indexes&t=s
October 4, 2010 at 9:35 am
are you including all the custom DLL's your project is referencing?
dlls that are part of the target framework (2.0.3.5,4.0 etc) do not have to be copied local, but any other...
October 4, 2010 at 6:21 am
this is how i usually create a role and then add various built in roles to it;
I hope this helps
CREATE ROLE [MyRole]
ALTER AUTHORIZATION ON SCHEMA::[db_ddladmin] TO [MyRole]
ALTER...
October 4, 2010 at 6:18 am
here's a slight modification chopping up the results into file date,filesize and filename:
SELECT
SUBSTRING(txtResult,1,20) AS FileDate,
CASE
WHEN txtResult LIKE '%<DIR>%'
...
October 4, 2010 at 6:10 am
if the only thing you are after is file size, the DIR command is faster and easier to use to get it; now if you are after information like modified...
October 4, 2010 at 5:48 am
it's kind of hard, but you have to make some assumptions based on the sample data.
i'm assuming:
there are TWO chars after the slash to capture.
there is always a space before...
October 1, 2010 at 12:44 pm
preensheen (10/1/2010)
October 1, 2010 at 9:21 am
no, whatever you paste is whatever you paste....
the GRID, by design, cannot show multiple rows...(it's a grid), so for presentation purposes, it replaces CHAR(13) and CHAR(10) as spaces...but the underlying...
October 1, 2010 at 9:01 am
right click on the servername...properties...the security tab:
change to failed logins only, and i think you are all set.

October 1, 2010 at 8:57 am
in the object explorer on the left, expand your database till you see the table.
right click on that table , and selecte the "Edit Top 200 rows;
you can always change...
October 1, 2010 at 8:09 am
from a similar post a while back, someone cobbled together an enhanced version of sp_who, which has an additional xml column of the command being executed.
try this version, named sp_who3:
/***************************************************************************************************************...
October 1, 2010 at 5:25 am
if you restored a database that came from a different server, this is a known issue;
USERS in the database are mapped to LOGINS in the master database;
the sql user...
October 1, 2010 at 5:19 am
Viewing 15 posts - 8,626 through 8,640 (of 13,460 total)