Viewing 15 posts - 8,326 through 8,340 (of 13,469 total)
I've done something exactly like this...based on the rows in a table, a view with dynamic pivots gets altered.
in my case, i write to an events table from within the...
December 7, 2010 at 1:20 pm
chris.thornburg (12/7/2010)
Okay in your scipt when you say ALias do you mean my TNSNAMES server alias or the name of my Linked server?
The Alais is just what the linked server...
December 7, 2010 at 11:24 am
i seem to remember that the msdbora driver was valid only up to oracle version 9; with 10 and above, the blob type fields cause issues.
if your select statement did...
December 7, 2010 at 10:00 am
the rule of thumb is each object in a statement must be uniquely identifyable, whether by object name or by alias;
in your example, each sql is standalone and following the...
December 7, 2010 at 8:23 am
well first lets get rid of the cursor.
there is nothing a cursor does that a set based operation cannot do, and the set based would be a couple of orders...
December 7, 2010 at 6:59 am
statistics most like is the culprit.
if your SSIS package is insertint/deleting/updating rows, and then calling the procedure, the statistics are probably very different than when the stored procedure was created.
update...
December 7, 2010 at 6:32 am
there was a thread alst week on how performance can be poor when you try to drop a temp table , where you created a temp table, and then...
December 6, 2010 at 3:22 pm
cvandevoorde (12/6/2010)
I still don't understand why, if the columns...
December 6, 2010 at 12:31 pm
I'm not sure the return code will help; it signifies whether the procedure executed without errors or not...not whether the email was sent successfully. the email gets sent asynchronously, when...
December 6, 2010 at 12:25 pm
i think you'll just have to wrap a section of the query into a subquery, since the data has to be filtered on the LIKE statement first;
because the second part...
December 6, 2010 at 11:19 am
also you said "online database"...maybe you meant you are using a web server and a database together?
in that case, the web server can return the IP Address and mac address...
December 6, 2010 at 9:36 am
are you familiar with connections to the database?
every connection is assigned a uniqueID..the @spid...they are typically an integer starting at 51, and goes up.
in any of your database code, you...
December 6, 2010 at 9:32 am
one of the DMV's has the IP address in 2205 and above:
select host_name(),app_name(),client_net_address from sys.dm_exec_connections where session_id = @@spid
i tend to use this snippet for auditing:
SELECT
getdate() as...
December 6, 2010 at 8:33 am
here's what i use.
note you have to download the command line version of 7zip. like all other zip files i know of, you cannot use the GUI, it's always a...
December 5, 2010 at 9:40 pm
if you are importing data, i think BULK INSERT can do anything that BCP was going to do;
writing to a file is a different matter.
December 3, 2010 at 11:38 am
Viewing 15 posts - 8,326 through 8,340 (of 13,469 total)