Viewing 15 posts - 751 through 765 (of 13,469 total)
anupam.jha (12/20/2016)
I have landed into a scenario where we have around 60 to 70 SSIS packages that would be loading data into the datawarehouse.
Most of the individual SSIS packages...
December 20, 2016 at 8:30 am
you should start a new thread to get a bit better help;
however, here's a decent framework to start with.
the email portion is the easiest part, really.
the only thing you need...
December 20, 2016 at 6:59 am
here's an example of your code.
your example has no where statement. which doesn't make sense to me, you'd want to filter on a table,a nd send if there is data.
i...
December 19, 2016 at 10:46 am
i always insert into a temp table,and then check if exists:
SELECT *
INTO #temp
FROM [AdventureWorks].[Sales].[SpecialOffer]WHERE SomeFilterOrColumn =SomeValue
IF EXISTS(SELECT * FROM temp)
BEGIN
--all the email logic you had previously
--but FORXML select from...
December 19, 2016 at 10:09 am
Reconsider the tool to use for your project;

This post started out with "how to include an image in sp_send_dbmail".
certainly possible, but is the right tool for your specific question...
December 19, 2016 at 9:58 am
I tend do do commands like this in a script rather than the GUI;
my example script would look something like this:
CREATE ROLE DevelopersReadWrite;
GRANT VIEW...
December 16, 2016 at 8:12 pm
DataAnalyst011 (12/16/2016)
December 16, 2016 at 8:03 pm
i would handle the upsert like this:
also, i think you granted INSERT to public, but you did not grant UPDATE or SELECT to public, so that is a point of...
December 16, 2016 at 3:06 pm
a case statement is going to lock you into one datatype, so i would simply use money(= Decimal18,4)
and do the math in a case statement;
wouldn't something like this do the...
December 16, 2016 at 2:57 pm
since you have CMS set up, I would use a powershell script to poll each CMS server, and insert data into a centralized table.
then you could generate an SSRS report...
December 16, 2016 at 1:57 pm
the example here:
http://ss64.com/nt/syntax-delolder.html
is so close to your version, i'm not sure there's an issue:
the only thing i see is that the example uses slashes instead of hypens for the...
December 16, 2016 at 1:35 pm
mcfarlandparkway (12/16/2016)
I want to exclude one column from select list how to do this?Column is empname(need to exclude from selct *)
my example contained the word [ColumnList] as a placeholder for...
December 16, 2016 at 12:28 pm
Phil Parkin (12/16/2016)
using System.IO;
into your Using block (towards the top of your code module)
it allows you to...
December 16, 2016 at 11:34 am
mcfarlandparkway (12/16/2016)
All the column data should be same in all 7 databases. - basically select *..from tabledo we need to use intersect?
you said find duplicates in the first post.
INTERSECT finds...
December 16, 2016 at 11:20 am
i always put my audit table in the master database, since it is guaranteed to exist, and all logins inherit some access to it.
someone already mentioned the three part insert:...
December 16, 2016 at 11:08 am
Viewing 15 posts - 751 through 765 (of 13,469 total)