Viewing 15 posts - 61 through 75 (of 180 total)
You could use a case statement. this will bring back the investorname of fannie mae for all records with a lendername of bank of america.
you can try the syntax out...
May 19, 2015 at 8:37 am
try running EXEC sys.xp_readerrorlog on the instance in question. Looks like someone else had similar issue here
http://dba.stackexchange.com/questions/56860/sql-server-logs-error
May 19, 2015 at 7:46 am
try and come out of ssms and go back in first. on the server check the eventvwr logs for application and system. And verify the log files are on the...
May 19, 2015 at 6:47 am
has this only just started happening? have you come out of SSMS and gone back in to try it again? and is it affecting anyone else?
May 19, 2015 at 6:39 am
We're getting closer, you need to restore to a drive on the server, not a network path.
May 15, 2015 at 2:27 pm
You could do with knowing what the logical filenames are. They are likely to be bcc and bcc_log rather than bbc.you should be able to find out by viewing the...
May 15, 2015 at 2:12 pm
Yes that's the syntax. Good page here explaining it
https://technet.microsoft.com/en-us/library/ms190447%28v=sql.105%29.aspx
May 15, 2015 at 1:46 pm
You either need to get rid bccrestore which is just any empty db, or use a different db name for the restored database.
May 15, 2015 at 1:39 pm
Yes even though you have changed the db name, sql will try and use the same db filenames (mdf and ldf) as the db you are restoring. you need to...
May 15, 2015 at 1:17 pm
Yes or get rid of bccrestore before you run the restore script
May 15, 2015 at 12:58 pm
is the instance you are restoring to on your machine? If not the backup command will be looking on the c drive of the server the instance lives on, rather...
May 15, 2015 at 9:56 am
Probably easiest to use thedateadd function
select * from table where user='sam' and (testdate between dateadd(y,-1,[testdate]) and testdate)
May 15, 2015 at 7:59 am
I believe server/cal licensing is not available for Enterprise edition, just in case that's what you need to install.
May 15, 2015 at 3:40 am
Viewing 15 posts - 61 through 75 (of 180 total)