Viewing 15 posts - 5,461 through 5,475 (of 13,460 total)
first a gentle reprimand: you've seen enough posts about providing code...posting pseudo code gets you a psuedo-answer that you have to adapt and ask more questions about...if you posted your...
Lowell
May 29, 2012 at 6:12 am
truncating or deleting never returns file space to the server; it merely clears the internal tables so SQL can reuse the same space. SQL continues to reserve all that space...
Lowell
May 27, 2012 at 3:12 am
another option:
if you use a common naming convention across related procs/tables etc, SSMS has the little used option to filter the results in the Object Browser to limit the items...
Lowell
May 25, 2012 at 7:04 am
michael vessey (5/24/2012)
Lowell
May 24, 2012 at 8:43 am
the truncation is because by default, to save memory, SSMS limits the Results-To-Text to the first 256 characters, regardless of the results.
change it in your options to 8000
not that no...
Lowell
May 23, 2012 at 11:57 am
express 2012 is free, and you can get it straight from microsoft;
the enterprise evaluation edition is also free, but it expires after a while.
both of those you can google for...
Lowell
May 22, 2012 at 3:25 pm
SQLKnowItAll (5/22/2012)
Just saw this link in another post from Lowell: http://msdn.microsoft.com/en-us/library/ms143412.aspx
I was going to paste it here two! two questions on the same subject just a couple of minutes apart;...
Lowell
May 22, 2012 at 1:30 pm
simple syntax issue.
you have BEGIN ( and ) END; the parentheses are not allowed
cthis is syntactically correct:
CREATE PROCEDURE Casino.SP_SLOTMACHINE
@User NVARCHAR(10),@bet INT
AS
BEGIN
DECLARE @L_Wheel...
Lowell
May 22, 2012 at 1:29 pm
not natively no. if the database is set to 60 gig, even though it's 10% used, you need 60 gig to restore it.
that said, Redgates SQL virtual restore will...
Lowell
May 22, 2012 at 1:20 pm
in our shop, all the identity columns contain the tablename + Id, so repeating the tablename would be repetitively redundant 🙂
so for example TBAddress would have an identity TBAddressID...
Lowell
May 22, 2012 at 11:44 am
the data presented formatted as select statements:
SELECT '805880' AS TC_EMPNO,'2012-05-20 22:41:00.000' AS DateTime,'IN' AS PunchType,'1' AS tc_type,'8831916' AS TC_ID UNION ALL
SELECT '805880','2012-05-21 07:15:00.000','OUT','11','8837290' UNION ALL
SELECT '805880','2012-05-21 22:46:00.000','IN','1','8850645' UNION ALL
SELECT '805880','2012-05-22...
Lowell
May 22, 2012 at 9:42 am
it looks to me like the cursor is calling a stored procedure [STAT_LK.dbo.stat_v3] for each row;
to change this to a set base, wer would need to see the defintiino of...
Lowell
May 22, 2012 at 7:51 am
still sound slike multiple roles are hitting the user;
i would test as that user and see what roles that login was in;
--see what windows roles the windows user belongs...
Lowell
May 21, 2012 at 2:45 pm
i think it has to do with applying the logs prior to teh database being marked as ready to use.
that for a big MDF/Small LDF, the restore just has...
Lowell
May 21, 2012 at 2:20 pm
PradeepVallabh (5/21/2012)
Lowell
May 21, 2012 at 2:14 pm
Viewing 15 posts - 5,461 through 5,475 (of 13,460 total)