Viewing 15 posts - 8,686 through 8,700 (of 8,730 total)
A.J. Wilbur (7/24/2012)
nagkarjun1 (7/24/2012)
Can anyone provide me the script with copyonly option with out affecting the other process on db
This is a forum for help, not for people to do...
July 24, 2012 at 2:05 pm
Remember that bit is not boolean, so you have to compare it to 1.
e.g. bit_field = 1
July 24, 2012 at 1:40 pm
craig 81366 (7/23/2012)
This is why I always write date literals in the form 'yyyymmdd' without separators.Getting others to realise the importance of doing so is another story.
+1
July 23, 2012 at 6:57 am
SQLKnowItAll (7/19/2012)
... Don't summarize or group your sales in tables...
You're probably right and probably not.
As I understand, he's trying to summarize data from an already existing sales table. If...
July 19, 2012 at 2:49 pm
The easiest way is:
IF @Condition = 'Something'
SELECT *
FROM MyTable
WHERE myfield = @Variable
ELSE
SELECT *
...
July 19, 2012 at 12:37 pm
tbailey 19088 (7/19/2012)
1. Select the snapshot you wish to...
July 19, 2012 at 11:51 am
coldfusion244 (7/19/2012)
Luis Cazares (7/19/2012)
July 19, 2012 at 9:10 am
Swetha527 (7/19/2012)
I think you are unable to provide the dynamic script for the scenario i have given.Thank you.
Is this a reponse from a six year old?
After reading Lynn contributions on...
July 19, 2012 at 8:50 am
Ivan,
Si batallas con el inglés te puedo ayudar a traducir, aunque no puedo ayudarte con ese error.
Everyone else,
I can help with translation, but I'm not sure what's the error.
Translation for...
July 19, 2012 at 8:35 am
Why is everyone so upset about the answer? It's clear that the question is if you can restore the database without deleting the other snapshots. Otherwise you wouldn't have multiple...
July 19, 2012 at 8:32 am
capn.hector (7/17/2012)
Luis Cazares (7/16/2012)
Is this the right place to demonstrate how good is greater than evil, just by using SQL?i would like to see that
There are plenty of ways, the...
July 18, 2012 at 6:38 am
You could solve this with Dynamic code or by writing different queries trough a condition (IF...ELSE...).
I'm not sure if that is what you need.
July 17, 2012 at 2:07 pm
You must do the sum before you cast your values.
SELECT id,
nm,
CAST(REPLICATE(' ',16-LEN(SUM(AMT*1000))) + CONVERT(varchar(32),SUM(AMT*1000))...
July 17, 2012 at 1:46 pm
dwilliscp (7/17/2012)
Different server than where the stored Proc is running.
Taken from BOL http://msdn.microsoft.com/en-us/library/ms188029.aspx
"You cannot create new_table on a remote server..."
July 17, 2012 at 11:18 am
Have you tried this?
select top 5 *
into [this.that].dbo.ztb_test
from zt_sysjobs
July 17, 2012 at 9:57 am
Viewing 15 posts - 8,686 through 8,700 (of 8,730 total)