Viewing 15 posts - 2,671 through 2,685 (of 13,469 total)
for this query, i think we'd need to see the actual execution plan on this, as well as a list of all indexes on the fctAssetFulfillment and the FulfillmentPartnerInstall...
January 14, 2014 at 7:19 am
Luis pointed it out i think; the assignment must be a static value or constant;
a convert cannot be used, even if it was a static date, nore getdate,
and when you...
January 13, 2014 at 2:11 pm
it's not possible for a foreign key to reference a different database.
foreign keys can only be created within the same database as the two tables exist in.
it's possible to...
January 13, 2014 at 6:08 am
well, if there is a view or stored procedure that references a different database or a linked server, you can query for that.
take a look at the view sys.sql_expression_dependencies,...
January 13, 2014 at 5:25 am
Thanks for looking Phil!
pretty sure the office is using vs2008 for ssis and ssrs, so that's probably 2008; i couldn't seem to find a 2008 SSIS forum.
Ironically, i had done...
January 11, 2014 at 6:02 am
here's a testable solution you can adapt to your real data;
this gets each table, and a comma delimited list of column names.
use this as a model, and change it to...
January 10, 2014 at 2:31 pm
i'd like to see where you got a statistic or article stating UNION was a vector for hackers; might be interesting reading.
I'm more under the impression that SQL injection is...
January 10, 2014 at 10:37 am
I believe there was another recent thread that said scheduled jobs that are executing use "Microsoft SQL Server Management Studio", i believe, which was very misleading, since it's not really...
January 10, 2014 at 6:02 am
as far as i know, every login has access to master and tempdb; but they can hardly see anything that has not been granted permissions to them in those databases;...
January 9, 2014 at 12:52 pm
if this is for a class or homework, we can point you in the right direction;
from experience, your structure is wrong;
individual products or items on the invoice need to have...
January 9, 2014 at 12:14 pm
well, if a given id exists more than once in your tbl_directdebits, it will insert multiple rows.
...from tbl_directdebits where id= @id
does this query return any rows?
SELECT id, count(id)
FROM tbl_directdebits...
January 8, 2014 at 2:03 pm
i don't userstand the logic of dropping it and adding it...why not delete, reseed any identities, and insert into again?
your error is due to the fact that
a stored proc...
January 8, 2014 at 11:48 am
george sibbald (1/8/2014)
why does it matter that other tables are fragmented? what is your script trying to do?can you force the logic flow to pick up your table?
agreed; what...
January 8, 2014 at 11:42 am
yeah, i didn't see a value in it either;
the grant for GRANT VIEW ANY DEFINITION TO AppInsightUser
lets the login see the metadata without having to be a user int he...
January 8, 2014 at 11:30 am
SQL Guy 1 (1/8/2014)
OK, let's assume that I am not in production. How can I increase fragmentation without modifying the data?
You can't.
fragmentation occurs, for example, when data is...
January 8, 2014 at 9:25 am
Viewing 15 posts - 2,671 through 2,685 (of 13,469 total)