Viewing 15 posts - 10,486 through 10,500 (of 26,489 total)
Starting with SQL Server 2005 you can no longer update the system tables. like you were able to do in SQL Server 2000 and earlier.
July 24, 2012 at 10:34 pm
ehab.abuzied (7/24/2012)
When i run this question on SQL Server 2008 gave me (0,0).
You may want to double check the codee you ran. I ran it on SQL Server2008 R2...
July 24, 2012 at 6:03 pm
Here is my solution, no guaranttees on performance:
Create Table dbo.tab2
(
InmateNumber varchar(10),
Loc_unit varchar(10),
AuditDateTime datetime
);
INSERT INTO dbo.tab2 VALUES('694768','G3','2012-04-19 15:56:00.000');
INSERT INTO dbo.tab2 VALUES('853140','HEI','2012-06-22 11:57:00.000');
--
Create Table dbo.tab1
(
InmateNumber varchar(10),
Loc_unit varchar(10),
AuditDateTime datetime
)
INSERT INTO dbo.tab1 VALUES('694768','','2011-08-23 15:00:59.233');
INSERT...
July 24, 2012 at 5:14 pm
Okay, I just looked at the code from ColdCoffee. Looks like we used the same method to accomplish the task.
July 24, 2012 at 2:50 pm
Haven't looked at the code ColdCoffee provided. Here is my solution:
Create Table dbo.tab1
(
InmateNumber varchar(10),
Loc_unit varchar(10),
AuditDateTime datetime
)
INSERT INTO dbo.tab1 VALUES('694768','','2011-08-23 15:00:59.233');
INSERT INTO dbo.tab1 VALUES('694768','','2011-08-23 15:01:50.810');
INSERT INTO dbo.tab1 VALUES('694768','','2012-02-09 09:26:22.850');
INSERT INTO...
July 24, 2012 at 2:48 pm
Hate to say it, but I think audting is the best option for all requirements posted in this thread.
July 24, 2012 at 1:08 pm
Not sure. Try running a t-log backup or two, then try the shrinkfile again.
July 24, 2012 at 1:06 pm
L' Eomot Inversé (7/23/2012)
ChrisM@Work (7/23/2012)
SQLRNNR (7/23/2012)
C6H12O66-(hydroxymethyl)oxane-2,3,4,5-tetrol
Jason's C6H12O6 is a nasty ambiguous formula. ChrisW's thing is less ambiguous (but still ambiguous).
There's a nasty ambiguous word for it: hexose; but it's...
July 24, 2012 at 12:53 pm
Using SSMS, you should be able to use the ShrinkFile on the log with no problems.
July 24, 2012 at 12:36 pm
shiva.reddy06 (7/24/2012)
-Calculate Due Amount Principle + Interest after Due Date, this is for 1 installment (if non payment),
--Suppose he ll not pay...
July 24, 2012 at 12:31 pm
sqlnovice2001 (7/24/2012)
Thanks for the quick reply. As to the install question. Does it matter that SQL 2008 is already installed prior to installing SQL 2005? Any gotchas?
I can't readily answer...
July 24, 2012 at 12:27 pm
You can have multiple named instances, only one default instance.
July 24, 2012 at 12:15 pm
Before you do anything more, please run the following and post the results:
select name, log_reuse_wait_desc from sys.databases where name = 'model';
July 24, 2012 at 12:05 pm
Not that hard to automate a backup/restore process. There may actually be scripts on this site that can help with this.
July 24, 2012 at 11:59 am
Jayanth_Kurup (7/24/2012)
+1 backup restore , however have a look at the below link as wellhttp://www.sqldbops.com/2010/05/token-based-server-access-validation.html
Using the [ url ]/[ /url ] IFCode shortcuts (no spaces inside the square brackets) makes...
July 24, 2012 at 11:56 am
Viewing 15 posts - 10,486 through 10,500 (of 26,489 total)