Viewing 15 posts - 6,616 through 6,630 (of 6,648 total)
I think what you are going to need to do is have a separate column for each OR condition, for example:
SELECT
...
,case when...
February 23, 2008 at 10:16 pm
Since you have to resort to dynamic SQL anyways, don't bother with two statements and a temp table. You can do something like:
Declare @sql varchar(max);
February 23, 2008 at 10:00 pm
tigersam_20002000 (2/22/2008)
What features of SQL Server require you to use full logging?
Whether or not you use simple or full recovery model is not dependent upon any features of SQL Server....
February 23, 2008 at 9:32 pm
Yes - it will generate all scripts. I do not know whether or not it can be automated - but it is easy enough to find out. Download...
February 20, 2008 at 3:50 pm
Muralidharan Venkatraman (2/19/2008)
My transaction log file has grown to 25GB.
I did dbcc shrinkfile which did not help much.
Pls confirm if this is the right procedure.
1. Backup the database.
2. Backup...
February 19, 2008 at 8:32 pm
What you are asking about is a multi-node cluster (one cluster with three nodes). You cannot (afaik) have two separate clusters sharing a node.
With that said - yes, you...
February 19, 2008 at 8:13 pm
Jason Wisdom (2/14/2008)
Greg Charles (2/14/2008)
I wouldn't mess with scripts anyway if you want to duplicate the database.
Actually, that is exactly it.
I want to duplicate the database.. EXCEPT for...
February 17, 2008 at 10:12 am
Lookup_BI (2/12/2008)
Im the one who logged that topic on SQLTeam as well.I currently have got the INSERT part working with some help.Currently working on Update.
I know it is a very...
February 12, 2008 at 9:37 pm
One thing you also should be aware of is that you always have the option of executing a SQL Task in your maintenance plan.
So, you don't have to use the...
February 10, 2008 at 10:27 am
Sorry - the command should be:
Use [db1]; Execute sp_updatestats;
Use [db2]; Execute sp_updatestats;
...
February 5, 2008 at 9:32 pm
Just one other note: In SQL Server 2005 the system stored procedure 'sp_updatestats' has been improved to only update statistics on tables that have been modified.
If you use the maintenance...
February 5, 2008 at 9:31 pm
John Morris (2/3/2008)
jeff.williams3188 (2/3/2008)
Build a comparison project between your two databases using SQL Compare, select...
February 3, 2008 at 11:48 am
You can also use variables in the CTE:
DECLARE @myVAR int;
SET @myVAR = 1;
;WITH myCTE (col1)
AS (SELECT col1 FROM myTABLE WHERE col2 = @myVAR)
SELECT * FROM myCTE;
February 3, 2008 at 11:14 am
Another option is to download a trial version of SQL Compare (www.red-gate.com) and SQL Data Compare.
Build a comparison project between your two databases using SQL Compare, select only those objects...
February 3, 2008 at 11:00 am
I know you stated you did not want to use third party tools, but I am assuming that is because of cost. So, visit http://www.quest.com and download...
January 27, 2008 at 11:29 am
Viewing 15 posts - 6,616 through 6,630 (of 6,648 total)