Viewing 15 posts - 1,021 through 1,035 (of 13,445 total)
OK so zero seeks on the primary key, and we know it's also the clustered index since it is index_id = 1
so nothing, really ever says WHERE PK = {somevalue}
would...
May 10, 2016 at 11:38 am
can you show the entire error message? maybe show the entire contents of the step that is cursoring through the emails;
it looks like the email sent correctly, but an...
May 10, 2016 at 11:15 am
this page on the forums is my go to for linked servers to MySQL.
if you are running 64 bit SQL, you need the 5.1 64 bit MySQL drivers. 32 bit...
May 10, 2016 at 8:07 am
here's what i came up with to get the first date of the month, to the "latest" sunday 5pm
there might be a shorter datemath to do the same work, it's...
May 10, 2016 at 6:18 am
{edit added this comnetn to wrong post!}
here's what i came up with to get the first date of the month, to the "latest" sunday 5pm
there might be a shorter datemath...
May 10, 2016 at 6:17 am
etl2016 (5/10/2016)
Every sunday evening 5pm is a cut-off mark and certain aggregations are to be done for that week, with Sunday 5pm as cut-off. As we know,...
May 10, 2016 at 6:04 am
it really sounds like it's just plain old parameterized query;
you could be using something like date math to add days or weeks on demand to expand or shrink your...
May 10, 2016 at 5:20 am
it depends on whether the data is stored as varchars or proper datetime/time data types.
the datetime datatype allsowds you to add to it.
if the columns are datetime, the CTE is...
May 9, 2016 at 2:06 pm
ok, so are you rounding up to the nearest power of 10, then?
like this?
SELECT Power(CONVERT(BIGINT, 10), N) AS MaxVal
FROM (SELECT TOP 18 row_number()
...
May 9, 2016 at 1:09 pm
prafuljemail (5/9/2016)
update tset t.id1=999
from t b join
(
select id1,max(id) as id from t
group by id1 ) a on a.id=b.id
select * from t
The group by is fine if you KNOW...
May 9, 2016 at 12:21 pm
specific error is probably helpful; i suspect it's the column name is misspelled due to copy paste?
or is it because the table busidentity is not in the join criteria on...
May 9, 2016 at 6:33 am
there's a pair of functions that you can use to get either the things the views reference, or the things that the view consumes.
--objects that USE the views
SELECT
schema_name(vwz.schema_id) As...
May 8, 2016 at 7:21 am
that's a tough one, since the bat could be doing anything, and it's outside of SQL server.
you could open up Task Manager on the server, but the real question is...
May 7, 2016 at 8:35 am
i have specific jobs that are identical on all servers, things like backups, statistics, indexing.
i connect via Central Management servers, and run the create job script on all of them...
May 6, 2016 at 3:42 pm
PJ_SQL (5/6/2016)
I have SSIS 2012 (SSDT) residing in one server and I need to run the SSIS package from a different server.What is the process for that?
not quite sure what...
May 6, 2016 at 1:09 pm
Viewing 15 posts - 1,021 through 1,035 (of 13,445 total)