Viewing 15 posts - 496 through 510 (of 13,445 total)
"not running" doesn't tell us anything.
if you got a specific error, tell us the error.
if you ran the select, was it an empty string?
maybe you have schemas...
May 20, 2017 at 11:51 am
Ed generated the string you have to execute.
in his example the last line is the command, it was up to you to execute itSELECT @strSQL;
May 20, 2017 at 10:39 am
you missed the point about entity framework.
the EF DBContext probably has fifty tables or more inside.
It's absolutely possible/probable, that because the context is using a big transaction...
May 19, 2017 at 2:41 pm
the last lines of the error message tells you where in the code it failed, right?
I'd guess that EF/Linq is adding a bunch of tables to your context that...
May 19, 2017 at 1:45 pm
May 18, 2017 at 10:29 am
also, the attachment has to be accessible to the SERVER; so if the file is on the C: drive of your laptop, and the server is a different machine than...
May 17, 2017 at 10:58 am
I've done something like thisrequest, but via powershell; you have a lot more versatility there than pinging stuff via xp_cmdshell
regardless of where you do it, the logic is basically...
May 16, 2017 at 2:01 pm
I didn't have your real table structure, but this is a best guess on if you HAVE to have a static tableCREATE PROCEDURE [dbo].[UpdatePayout]
@accountID uniqueidentifier
AS
May 12, 2017 at 7:21 am
my first reaction is thinking outside the corner you are painting yourself in.
a balance like that should be calculated on demand, as a query or as a view, so...
May 12, 2017 at 7:04 am
if you are only removing repeating header, you might consider using a conditional split that tests the string;
then the conditional split can redirect the headers, or maybe do nothing...
May 11, 2017 at 9:58 am
the FK's point to the object_id of that lookup table,and not the name. you can see that is some of the sys views, like select * from sys.foreign_keys; the name is...
May 10, 2017 at 6:56 pm
there are a number of "StripNonNumeric" functions here on SSC scripts section:
http://www.sqlservercentral.com/search/?q=StripNonNumeric
I would strongly recommend either of the inline table value function that Sean Lange or Alan...
May 10, 2017 at 5:52 am
Like Sue suggested, i use Powershell, as a scheduled job step to remove any abf files older than x number of days.
not sure how you are backing up, in...
May 9, 2017 at 12:11 pm
is there any chance that when you installed Developer2016, you didn't install Integration Services? this screenshot shows the checkbox unchecked; i'd suspect that that might be issue. SSDT is the...
May 9, 2017 at 11:43 am
sounds like an order-of operations issue, right? insert into the parent tables, first, then move on to the tables that are FK'd to the tables.
the built in microsoft procedure...
May 9, 2017 at 11:11 am
Viewing 15 posts - 496 through 510 (of 13,445 total)