Viewing 15 posts - 1,081 through 1,095 (of 13,445 total)
from a string representing a query, it's difficult, just as Grant said; you have to tokenize it in a SQL parser. It's quite a bit of work, i did it...
April 26, 2016 at 7:19 am
It's really, really easy to script out a backup and restore,and with just a bit of tweaking and testing, make it fully automated.
For example, I have a job that restores...
April 26, 2016 at 7:10 am
i use something like this to generate models of both an insert and an update statement, assuming a staging table of the same name;
does this get you started?
you would...
April 25, 2016 at 1:48 pm
duplicate post.
original discussion is here, lets keep it all together to prevent fragmentation of replies:
http://www.sqlservercentral.com/Forums/Topic1779526-338-1.aspx
April 25, 2016 at 1:45 pm
the real question is what is your budget;
the top tools cost money, typically ~1000 per server, with discounts against more and more servers.
is your job going to shell out 100K...
April 25, 2016 at 1:38 pm
backup and restore would be my first choice too, unless you can come up with a decent reason to avoid it.
if you are really going to script it out,
there's...
April 25, 2016 at 1:16 pm
something like this should get you started;
select
e.name
...
April 25, 2016 at 7:43 am
i believe locking on insert will depend on the PK of your table, and clustered indexes, if any., and how many rows you are inserting.
if you have an identity column...
April 24, 2016 at 10:24 am
you should still check what i mentioned.
last run status can still be seen in Job Activity Monitor with a big red X, but the history could be erased.
April 22, 2016 at 1:25 pm
multi row inserts will insert the same default value form RAND() for all rows in the insert statement.
is that ok? (oops! tip of the hat to Jacob, who noticed the...
April 22, 2016 at 12:44 pm
check to see how long your history retention is; it could easily have been written, but aged out by the time you look at it.
if it is still a the...
April 22, 2016 at 12:38 pm
it's been a while on this thread, but i had this occurred to me twice since i last followed up on this;
here's some notes i took about the service broker...
April 21, 2016 at 2:54 pm
I'm guessing it has something to do with collation.
can you run these commands, and report what the values are?
with that, i could replicate the issue, ib et:
select databasepropertyex(db_name(),'collation')
select databasepropertyex('master','collation')
April 20, 2016 at 12:17 pm
bgrossnickle are you using the original code fromt eh article, or the updated code from the discussions here?
over the years, we've made a lot of improvements; your example table...
April 20, 2016 at 9:31 am
you can also do a shift + Right Click on the item to get a Run As Different User context,w here you can put in the other domain credentials.
April 20, 2016 at 5:51 am
Viewing 15 posts - 1,081 through 1,095 (of 13,445 total)