Viewing 15 posts - 1,591 through 1,605 (of 2,636 total)
Have you installed Standard edition on the new server? You'll have to do that before moving anything from the old server.
Greg
April 26, 2007 at 11:52 am
We've recently installed a named instance of SQL 2005 on a server that already had a SQL 2000 default instance and we haven't had any major problems. Neither version has...
April 24, 2007 at 5:35 pm
Doh! You're trying to find which table contains a column with a specific name! Use this query to list tables that have a column. Just replace 'columnname' with the column you're searching for...
April 24, 2007 at 3:06 pm
The data stored in the identity columns will be replicated to the target tables, but the identity property itself will not be. That should be fine for you because you...
April 24, 2007 at 2:33 pm
You'd have to query the tables. Does the column have the same name in all the tables?
Greg
April 24, 2007 at 2:20 pm
Would you elaborate a bit more? Are you searching for a column value in all the tables of a database?
Greg
April 24, 2007 at 1:16 pm
You can't do that. You restore a database to the state it was in at a point in time. In your case, that's the point when the complete backup was...
April 24, 2007 at 1:14 pm
It's been a while since I imported from Oracle. I think I used the TO_CHAR function to convert dates to strings in temp Oracle tables then imported into the SQL Server tables...
April 23, 2007 at 3:11 pm
Mike,
Rebuild the table with the first column being an integer IDENTITY (1,1) NOT NULL. Then, run the import/export wizard again and make sure the three fields in the input file...
April 23, 2007 at 2:55 pm
We have always moved to new hardware without moving system databases and we've never had a major problem. We use the methods described in this article: http://support.microsoft.com/kb/314546/en-us. We've gotten...
April 23, 2007 at 8:57 am
I use this query to find jobs that have been running for more than an hour:
select RTrim(J.Name),last_batch
from msdb..sysjobs J with (nolock)
inner join master..sysprocesses RP with (nolock)
on...
April 20, 2007 at 8:59 am
"so is there any way to control his powers/permissions which he can only apply his permissions on some specific objects"
No. As I posted before, there's no way to restrict sysadmin...
April 19, 2007 at 12:18 pm
Yes, you can by using the 'with move' option of the RESTORE DATABASE command. See 'RESTORE DATABASE statement' in BooksOnLine. There's an example under '
April 19, 2007 at 10:56 am
I don't currently use log shipping, but I believe that's done so the primary database will be in a recovery state and ready to receive log backups made on the...
April 19, 2007 at 10:47 am
Here's a way to search stored procedures, views, and UDFs:
declare @Target varchar(100)
set @target = '%searchstring%' -- replace with string to search on
SELECT
so.Name,
sc.Text,
...
April 19, 2007 at 10:27 am
Viewing 15 posts - 1,591 through 1,605 (of 2,636 total)