Viewing 15 posts - 8,326 through 8,340 (of 13,460 total)
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
just alter the definition of the computed column so it includes a cast or convert;
however, since a DATE datatype doesn't have the time portion, i think you could get...
December 3, 2010 at 9:45 am
they are easy to find, you just have to realize they are not real tables...they are Views...and they are also system views, so they are in a seperate folder in...
December 3, 2010 at 9:34 am
newbieuser (12/2/2010)
Thanks Lowell.CREATE SYNONYM dbo.citydata@ProdServer FOR MyLinkedserver.master.dbo.CITYDATA
Is 'ProdServer' linkedserver name in the example?
a synonym is an alias...it can be anything, but obviously it needs to make sence to...
December 2, 2010 at 9:14 am
yes, you can create a synonym that points to the linked table.
a synonym must point ot an object...procedure,function, table view, etc.
it cannot point to part of a name.
sp_tables_ex MyLinkedserver
DROP SYNONYM...
December 2, 2010 at 8:54 am
same datatype as the column it's on....there's rare exceptions where you make an index on a persisted calculated column that is the substring of a column, so then it's the...
December 2, 2010 at 7:53 am
Indianrock (12/2/2010)
The execution plans were missing the number of rows involved by a mile.
exactly;
I've got one table, for example, that i update every two hours during biz hours , and...
December 2, 2010 at 7:09 am
Viewing 15 posts - 8,326 through 8,340 (of 13,460 total)