Viewing 15 posts - 6,796 through 6,810 (of 13,469 total)
In the past, i've changed it where i've circled it below under IPAll. that has been how i assigned a static port for my express isntance to listen to.

September 13, 2011 at 10:21 am
you must have a process that is harvesting the data off of the web site, right?
if the format of the data changed, that would throw off the import of the...
September 13, 2011 at 7:09 am
i'd code it with an EXISTS like this:
IF EXISTS(SELECT 1
FROM PARM
...
September 13, 2011 at 6:14 am
dave could that be mySQL that you pasted?
the syntax doesn't match SQL server;
the equivilent would be like this:
IF Object_id('StormHeader') IS NULL
CREATE TABLE StormHeader ( ...rest of definition
September 9, 2011 at 8:20 am
you can create an INSTEAD OF trigger on a view, and have that trigger do the DML to the desired underlying tables.
your code will then try to insert/update/delete fromt he...
September 8, 2011 at 2:27 pm
lol i got two honorable mentions in there!
I gotta know, what is in that Lowell_used_columns file? i'm sure i have the same script saved, but I dunno what yours references!
Thanks...
September 8, 2011 at 11:04 am
ahh the by months things going to be tough...you can't just use the 87 days between them? you have to have it broken down my whatever number of months between?
do...
September 8, 2011 at 10:52 am
Ninja's_RGR'us (9/8/2011)
How big is the log file in the restored DB? That file needs to be 0 initialized and that takes time.http://sqlskills.com/blogs/Kimberly/post/Instant-Initialization-What-Why-and-How.aspx
ahh, yeah zeroing out the log file ,...
September 8, 2011 at 10:14 am
are you are restoring a backup of the database as a new database?
I believe it can take time for the operating system to find 120 gig of as-contigous-as-possible space...
September 8, 2011 at 10:07 am
lets do some basic diagnostics;
does this return STARTED or something different?
EXECUTE msdb.dbo.sysmail_help_status_sp --STARTED?
try stopping and starting the mail service:
EXECUTE msdb.dbo.sysmail_stop_sp;
GO
EXECUTE msdb.dbo.sysmail_start_sp;
and finally, yes, you probably need to bouhce the SLQ...
September 8, 2011 at 7:47 am
make sure all your columns are NVARCHAR, and not VARCHAR....that should resolve the conversion issue, i think.
collation only decides how the strigns are sorted and ordered by...it does not decide...
September 8, 2011 at 6:19 am
my suggestion: don't store a total in the table. create a view which calculates the total on demand instead...that way it will always be accurate, and you don't need a...
September 8, 2011 at 5:55 am
if you only want to update where those three fields are not null, then the WHERE statement would be with AND isntead of OR:
...
WHERE A.lastname IS NOT NULL
...
September 7, 2011 at 1:18 pm
here's an example of two different techniques that do the same thing:
/*ANewIDDiffID
0000012300000123
0000005600000056
0123456801234568
*/
With MySampleData (TheID)
AS
(SELECT 123 UNION ALL
SELECT 56 UNION ALL
SELECT 1234568 )
SELECT
...
September 7, 2011 at 12:35 pm
i would simply handle each field with the ISNULL FUNCTION instead:
UPDATE A
SET fullname= RTRIM(LTRIM(ISNULL(A.lastname,'')))
+ ',...
September 7, 2011 at 12:30 pm
Viewing 15 posts - 6,796 through 6,810 (of 13,469 total)