Viewing 15 posts - 22,036 through 22,050 (of 26,484 total)
Really comes down to six and half dozen the other. Personal experience on my system at home had fewer larger cross joins ran faster when I wanted millions of...
March 12, 2009 at 8:41 am
Bob Hovious (3/12/2009)
there is no table definition or data that is relevant
You are absolutely correct. When asking for more information, I just asked for complete text of errors,...
March 12, 2009 at 8:26 am
Yes, you really should do each backup to a separate file. If you are appending backups to the same file you have to specify which file to restore from...
March 12, 2009 at 8:22 am
Here is another solution:
with
a1 as (select 1 as N union all
select 1 union all
select 1 union...
March 12, 2009 at 8:17 am
Please post the code you used for both your backups and restores.
March 12, 2009 at 8:06 am
How are you looking for elapsed time to be returned? Not knowing your data, I don't know if I need to worry about elapsed time going over 24 hours...
March 12, 2009 at 7:32 am
siddartha pal (3/12/2009)
I am not able to complie the function because of Varchar(max) for @string parameter.
Not sure why that would give you a problem, you are using varchar(max) in your...
March 12, 2009 at 5:20 am
The other alternative put a where clause on your inserts that checks for the existance of those three values existing in the database already.
March 11, 2009 at 9:26 pm
You can also drop the NOLOCK hint. It is ignored any way on INSERT, UPDATE, and DELETE statements.
March 11, 2009 at 9:21 pm
How about trying the following code:
create function dbo.DelimitedSplit (
@pString varchar(max),
@pDelimiter char(1)
)
returns table
as
return
with
a1 as (select 1 as N union all
...
March 11, 2009 at 3:58 pm
Please confirm that the purpose of the function is to return a table of items from a delimited string.
For example, given the string "'A','B','C','D','E'" return the following:
1 A
2...
March 11, 2009 at 3:43 pm
Here is my .02. I'd prefer to do native backups to local disks, then backup the backup files to tape or other remote storage media. Reason, it is...
March 11, 2009 at 12:53 pm
Nice it would be if feedback OP would provide.
March 11, 2009 at 11:58 am
Check out the following code and see if it does what you need:
select getdate(), dateadd(wk, datediff(wk, 0, getdate()) - 1, 0), dateadd(wk, datediff(wk, 0, getdate()) - 1, 0) + 4
March 11, 2009 at 11:56 am
GilaMonster (3/11/2009)
Roy Ernest (3/11/2009)
I think we have good one here...Let us see if he comes back with a positive answer or not.
Bet you a coffee that either he comes back...
March 11, 2009 at 11:27 am
Viewing 15 posts - 22,036 through 22,050 (of 26,484 total)