Viewing 15 posts - 4,396 through 4,410 (of 13,464 total)
you'll need to get a copy of sp_help_revlogin from microsoft; there are different versions, depending on 2000/2005, maybe even for 2008 and above, i don't quite remember.
assuming you are going...
November 14, 2012 at 9:43 am
new users are at least a three step process:
create the user in Active directory (you said that was done)
create a login for the user in SQL Server(you said that was...
November 14, 2012 at 6:16 am
--deleted duplicate post.
November 14, 2012 at 6:08 am
the index scan is normal, from what i read, since the constraint for the foreign key needs to be validated; to do that, it has to check the existing values...
November 14, 2012 at 5:30 am
YSLGuru (11/13/2012)
Thank you for the reply but I'm not following how this can be used to get the answers I'm looking for. Could you perhaps provide an example using...
November 13, 2012 at 3:17 pm
Just one question, though. Why do you leave the new server unpatched until later in the migration?
it's just something i saved in my notes...i think it has more to do...
November 13, 2012 at 2:47 pm
edit; for reference for others , he mentioned he already knows this one, as opposed to when the OS restarted:
select
sqlserver_start_time
from sys.dm_os_sys_info
November 13, 2012 at 2:42 pm
side by side migration, or an in place upgrade?
there's not a lot of difference in the preperation, as compared to a full on disaster recovery plan....if the new server doesn't...
November 13, 2012 at 2:22 pm
ok, i *think * this works fine.
i'm testing it for shorter 4-number-in-a-row patters for simplicity.
it doesn't quote work when the patter exists multiple times...it does fix one offending string each...
November 13, 2012 at 1:40 pm
YSL I have a pair of TableValued functions for this, that i use to join against existing data so i can group by the rounding up or rounding down to...
November 13, 2012 at 1:18 pm
SQLKnowItAll (11/13/2012)
Don't need the OR for the 17.. The 16 will catch it 🙂 and anything more than 16.
doh! thanks, how did i miss that?!
November 13, 2012 at 12:44 pm
create a temp table,and change the query to insert something into the table instead of a simple select...maybe the table name and the column name or something...or a PK...
you can...
November 13, 2012 at 12:42 pm
the next part, the find and replace gets ugly very quickly.
is it possible that more than one number appears int eh memo field? ie two or three 1/17 digit numbers?
is...
November 13, 2012 at 12:39 pm
if you know it's a single table, it's going to look something like this:
you can use the pattern matching , regular expression style of the LIKE statement:
SELECT *
FROM YOURTABLE
WHERE...
November 13, 2012 at 12:28 pm
instead of dropping and recreating, it would be a lot easier to simply rename the existing constraints instead. sp_rename takes any object name that exists in sys.objects , not just...
November 13, 2012 at 11:29 am
Viewing 15 posts - 4,396 through 4,410 (of 13,464 total)