Viewing 15 posts - 196 through 210 (of 518 total)
Why would you post this again?
http://www.sqlservercentral.com/Forums/Topic999572-391-1.aspx
October 6, 2010 at 12:05 pm
edit: spam of the broken link!
Yes, I agree though..I would try to avoid using triggers whenever possible anyway, especially if there's a better way to do it (in this case,...
October 6, 2010 at 11:45 am
Depends which CPU you're coming from and going to (how many cores, speed, etc), if the RAM is any faster (moving from DDR2 to DDR3 for instance), the speed of...
October 6, 2010 at 11:39 am
Nice one Ken. Very elegant solution to this..I didn't think of grouping on the rowdiff.
October 6, 2010 at 11:08 am
You can, but that backup file is corrupt. Try to take another full backup and restore again.
October 6, 2010 at 10:57 am
jerry-621596 (10/6/2010)
Not sure what the difference was with EXCEPT but that worked perfectly!Thanks!
Well...logically there would be no difference, but I've been using EXCEPT on all 2005+ queries and have had...
October 6, 2010 at 10:40 am
Jon.Morisi (10/6/2010)
FYI,http://support.microsoft.com/kb/970399
Need SP1 CU3 or higher
Wow...are they serious? The maxdop setting is essentially useless if set to something besides 0 or 1 on all versions of SQL 2008 prior...
October 6, 2010 at 10:28 am
Can you try this?
INSERT INTO InternalML.dbo.TempEmail
(Email)
SELECT DISTINCT
Ltrim(Rtrim(c.Email))
FROM AAService.dbo.Customers c...
October 6, 2010 at 10:23 am
Do you have leading/trailing spaces on the fields showing as duplicates? You could try doing ltrim(rtrim(t.email)) on the where not in clause.
October 6, 2010 at 10:12 am
When you select the objects to script out, select only Tables (and their dependencies..make sure you get keys, indexes, etc), then run that script on the new DB.
October 6, 2010 at 10:04 am
Something like this? :
CREATE TABLE [#test2](
[name] [varchar](20) NULL,
[id] [varchar](20) NOT NULL,
[country] [varchar](20) NULL,
[state] [varchar](20) NULL
) ON [PRIMARY]
CREATE TABLE [#costdetail](
[name] [varchar](20) NULL,
[cost] [decimal](20, 0) NULL
) ON [PRIMARY]
insert into #test2 values('j&j','1','canada','alberta')
insert into...
October 6, 2010 at 10:03 am
Or do
select top 10 * from syscomments
where text like '%spNameHere%'
to see if it's called from any other SPs.
October 6, 2010 at 9:44 am
Right click the db -> Tasks -> Generate Scripts
October 6, 2010 at 9:42 am
Actually there is:
select SERVERPROPERTY('Edition') as [Edition],
SERVERPROPERTY('LicenseType') as [License Type],
SERVERPROPERTY('NumLicenses') as [# of Licenses]
edit: disregard..apparently this doesn't work, since the installer no longer puts license info in the registry.
October 6, 2010 at 9:36 am
Viewing 15 posts - 196 through 210 (of 518 total)