Viewing 15 posts - 1,096 through 1,110 (of 13,460 total)
there's no upgrade path for Express to non express versions; instead you need to backup all the databases, script out your logins, as well as anything server related...certificates, linked servers,...
Lowell
April 27, 2016 at 5:30 pm
a trigger has a COLUMNS_UPDATED integer value which represents a bitmask for the columns that were mentioned in the update, but it does not tell you if the value changed...
Lowell
April 27, 2016 at 9:45 am
is this on a cluster, where it might be failing over or toggling to the other node?
is it possible someone is downing the server for maintenance?
did you check the...
Lowell
April 27, 2016 at 6:17 am
i think it's integer division. SQL maintains the datatype, and the avg is truncated to a integer.
change the datatype of the column from int to decimal(19,4) and you get 2.5
Declare...
Lowell
April 26, 2016 at 3:27 pm
if the table has an implicit or explicit ordering, like an identity() column, or a CREATEDDATE datetime column, you can compare old to new in a set based operation, by...
Lowell
April 26, 2016 at 3:02 pm
SQL Server Import and Export Wizard
https://msdn.microsoft.com/en-us/library/ms141209.aspx
Lowell
April 26, 2016 at 12:58 pm
well i dug a little deeper in my old parser utility.
i expected the tables to be identified as TOKEN_TABLE, but they end up being TOKEN_ID instead; i guess with a...
Lowell
April 26, 2016 at 12:29 pm
INNER JOIN (
SELECT Top 1
that will return one , single row, not one row per policy number, right?
so the other table is limited to match one row as...
Lowell
April 26, 2016 at 9:29 am
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...
Lowell
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...
Lowell
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...
Lowell
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
Lowell
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...
Lowell
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...
Lowell
April 25, 2016 at 1:16 pm
something like this should get you started;
select
e.name
...
Lowell
April 25, 2016 at 7:43 am
Viewing 15 posts - 1,096 through 1,110 (of 13,460 total)