Viewing 15 posts - 61 through 75 (of 108 total)
If I left the secondary database in Standby - can I make backups from the secondary database?
February 22, 2011 at 2:59 pm
Yes, there is a reason. All the options, log shipping, mirroring, etc., leave the database in a non-usable (standby) state. I need a database copy that I can...
February 22, 2011 at 2:40 pm
Craig,
You are correct. The real function would not print the average cost. It will be turned into a user defined function that would return the weighted cost....
February 21, 2011 at 1:28 pm
Ok... I am still a little confused. Would I be safe in doing the following:
1) Checkpoint
2) Backup Log File
3) DBCC Shrinkfile ( log file), 0, Truncateonly
4) Full Backup
5)...
February 4, 2011 at 12:09 pm
Craig Farrell (2/3/2011)
February 3, 2011 at 4:22 pm
So ColdCoffee's solution would get me one record per name with up to 3 colors listed in 3 columns?
January 30, 2011 at 9:48 pm
I understand the APPLY much better than the other solution. It works!
Now, using the same data, I was asked if there was an easy way to flatten...
January 29, 2011 at 4:14 pm
Ok, now what if there is not a rank. What if the color is ordered by the way it is entered. How could I get the 1st 10...
January 26, 2011 at 8:11 pm
Yep, I meant log shipping. I am looking for a solution that I can easily implement and maintain. It needs to allow me to do local backups against...
January 3, 2011 at 10:42 am
Mark-101232 (12/15/2010)
INSERT INTO hdr(id,pk,notes)SELECT ROW_NUMBER() OVER(ORDER BY a.fk),
a.fk,
STUFF((SELECT ' / ' + RTRIM(b.dtl_note) AS "text()"
...
December 15, 2010 at 8:29 am
Stamey (10/21/2010)
OK, I have to ask, why do you choose not to use an identity column? That is the simplest solution to this situation, really.Chris
For a PK, it is a...
October 21, 2010 at 7:40 am
I am trying to prevent having to handle a duplicate pk insert.
Here is the structure of the table:
gpk - Table Name
gpk_currentnumber - last PK used
There are 200 records...
October 20, 2010 at 12:40 pm
I am using this as a PK for other tables. I am choosing not to use an identity column.
October 20, 2010 at 8:21 am
Ok...
This:
use xyz
EXEC sp_grantdbaccess @loginame = 'sv2'
gets me 'public' database access to xyz for user sv2. How do I programatically get the db_owner set for the same...
August 6, 2010 at 8:33 am
Viewing 15 posts - 61 through 75 (of 108 total)