Viewing 15 posts - 3,361 through 3,375 (of 13,469 total)
it's the order of operations.
create table StudentAccount references table Instructor,
so the script has to create table Instructor before it can
create table StudentAccount;
i reordered that one table...
May 31, 2013 at 1:08 pm
I've got an HP G71, and bought one of thosse SSD/HD replacement Caddy to replace the DVD in the Side Bay with an SSD caddy.
it was really easy to do...
May 31, 2013 at 11:10 am
pretty sure all you need to do is toggle this option:
it's in place to prevent someone from making accidental changes:

after that, you will be able to modify the column in...
May 31, 2013 at 9:06 am
here's a few different ways to recover access by adding yourself as a sysadmin:
via powershell, which supports impersonation by a local admin:
via A Scheduled Task, which supports impersonation by a...
May 31, 2013 at 8:32 am
GrassHopper (5/31/2013)
the data...
May 31, 2013 at 7:48 am
The code is tested at parsing time for all objects to exist;
it doesn't allow logical testing to be ignored.
you could switch to dynamic SQL instead to avoid the error.
IF exists
(SELECT...
May 31, 2013 at 6:55 am
riggins13 (5/31/2013)
I ran the query, (changed the blank db to my db name) and I get nothing 🙁boggled
well, the default trace only keeps the last 100 meg of DDL...
May 31, 2013 at 6:34 am
agreeing with Dave, it seems to work fine, but it assumes that MFM always exists and is always those three letters int eh first three chars.
if we are grabbing something...
May 31, 2013 at 6:23 am
Stating the obvious, a database doesn't just get set to single user by itself, some process or person actually issued the command.
that ALTER DATABASE command counts as a DDL operation,...
May 31, 2013 at 6:00 am
my SSMS for SQL 2012 is in this folder:
"C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Ssms.exe"
My question for you is whether you want to Replace the current call for SSMS with the 2012...
May 31, 2013 at 5:30 am
i have to update destination table every week.
weekly updates screams drop and recreate to me; if you needed any changes/updates that were mere seconds old, it might be a...
May 30, 2013 at 2:26 pm
if this was just an insert form the source, you'd ideally want to find a way to find the max(id/createddate) from the target, and get records that are greater than...
May 30, 2013 at 2:13 pm
GilaMonster (5/30/2013)
Lowell (5/30/2013)
The products of 21 is 7 and 3.[nitpick]
The factors of 21 are 7 and 3. The product of 7 and 3 is 21
[/nitpick]
it's a quote, i...
May 30, 2013 at 1:52 pm
The Dixie Flatline (5/30/2013)
GilaMonster (5/30/2013)
The Dixie Flatline (5/30/2013)
GilaMonster (5/30/2013)
May 30, 2013 at 1:35 pm
my wild guess to provide a rough example: note i'm truncating the time portion of hte datetimes to the day.
With YourTable
As(
SELECT 1 AS SomeColumnForGrouping,CONVERT(datetime,'2013-05-30 07:26:30.157') AS CreatedOn...
May 30, 2013 at 1:30 pm
Viewing 15 posts - 3,361 through 3,375 (of 13,469 total)