Viewing 15 posts - 211 through 225 (of 497 total)
New Born DBA (2/3/2014)
February 3, 2014 at 3:56 pm
If Jack is no longer able to take this one I would be willing to do it. What is the time frame on finishing it?
January 31, 2014 at 9:43 am
Please read the article in my signature on posting questions like this on the forum. Please provide the DDL statements along with the sample data inserts.
January 31, 2014 at 9:02 am
Are you sure that you didn't install 2005 by mistake? Seems like you are trying to open a 2008 mdf file in 2005. Run this command to verify your instance:...
January 31, 2014 at 8:58 am
For this case I would create a windows group that has data reader access and manage the group for who get's access. After that add that group to your db_datareader...
January 31, 2014 at 8:51 am
Try this:
SELECT X.PRODUCTNAME, X.PRICE, X.STARTDATE, X.MAXENDDATE, case when X.MaxEndDate = '9999-12-31 00:00:00.000' then 1 else 0 end as FlagActivePrice
FROM (
SELECT ProductName
, Price
, StartDate
, EndDate
, FlagActivePrice
, ROW_NUMBER() OVER (...
January 31, 2014 at 8:37 am
I have been running some tests with profiler and set statistics time on
and so far all of my Execution Times are reported as being the same as what profiler...
January 27, 2014 at 2:38 pm
The issue comes down to not wanting to count weekends as days in your delete statement. I would recommend a date table that has a list of dates and has...
January 22, 2014 at 1:31 pm
Here is something that works:CREATE TABLE #CustomerAccount
(
AccountNoINT,
Customer1IDINT,
Customer2IDINT,
Customer3IDINT,
Customer4IDINT,
AccountHoldersTinyInt
)
CREATE TABLE #AccountBalance
(
AccountNoINT,
Balance MONEY,
InterestMONEY
)
INSERT INTO #CustomerAccount(AccountNo, Customer1ID, Customer2ID, Customer3ID, Customer4ID, AccountHolders)
VALUES(10001,1,0,0,0,1), (20002,2,3,0,0,2), (30003,4,5,6,0,3), (40004, 7,8,9,10,4), (50005,11,12,0,0,2), (60006,13,14,15,0,3), (70007,16,17,18,19,4)
INSERT INTO #AccountBalance(AccountNo, Balance, Interest)
VALUES(10001,500,0.54), (20002,459,0.34), (30003,...
January 22, 2014 at 9:21 am
SQLRNNR (1/22/2014)
Grant Fritchey (1/22/2014)
praneethydba (1/22/2014)
HI,I am happy to tell you, my database is up now.....
Online now.....:-)
Thanks a lot for your support...
Thanks
Praneeth
Congrats! That's great!
Now, run a backup.
No, schedule regular backups and...
January 22, 2014 at 8:27 am
Just taking your normal tlog backups will clear the wait until there are new log records that need to be backed up, so seeing that description is pretty normal. Please...
January 21, 2014 at 7:20 pm
What is the output of this code (change the database name):SELECT state_desc
FROM sys.databases
where name = 'DatabaseName'
January 21, 2014 at 9:44 am
I would stop shrinking the log file. If you want to keep the size of the file smaller take your tlog backups more often than once an hour. You are...
January 21, 2014 at 9:38 am
LOG_BACKUP
I do not understand what is going on.
This means that it is waiting on a transaction log backup
January 21, 2014 at 9:34 am
Viewing 15 posts - 211 through 225 (of 497 total)