Viewing 15 posts - 1,576 through 1,590 (of 13,469 total)
don't convert dates to strings! the where statement you posted ends up causing a table scan, as it converts every date to a string, which in turn gets compared to...
August 17, 2015 at 6:08 am
i posted an old trigger example that sends an email you could use as a model here:
it gathers specific elements from the 1-to-many rows of data that was changed,...
August 13, 2015 at 6:25 am
I seem to remember another thread that said they needed to right click the SSMS shortcut and click 'run as administrator' to be able to do some other things, like...
August 12, 2015 at 5:40 pm
SQL Express usually installs as an instance name, and not a default instance.
your BCP is assuming a default instance, i'd bet you have a named instance instead.
check your servername\instancename, but...
August 12, 2015 at 2:39 pm
is the Reporting Services you are connecting to the same version as your SSMS client? I have trouble when connecting from higher to lower versions.
i get errors...
August 12, 2015 at 2:31 pm
you have to fill out the authentication settings of your mail profile; google, yahoo, virtually every external mail server requires the AUTH command to send username and password, so that...
August 11, 2015 at 8:27 am
during my copy/paste/modify, i left an invalid trailing comma in the string for the command here:
FROM [DB1].[dbo].[Account] AS A,
just remove the comma, and the command is syntactically correct; hopeful it...
August 11, 2015 at 7:04 am
based on Lynn's fine advice, this is how i'd look at it:
SELECT *
INTO #tmp
FROM OPENQUERY([DBServer1], 'SELECT
...
August 10, 2015 at 2:40 pm
without more details, i'm just throwing an example out there;
shouldn't you calculate the cost of all projects, and only filter on the criteria?
maybe something more along the lines of this?
SELECT
...
August 10, 2015 at 7:55 am
Luis Cazares (8/10/2015)
Any reason not use LIKE?
yes, there's a reason!
i built this a while ago , and i have a bunch of variations of it for specific purtposes.
but i remember...
August 10, 2015 at 7:42 am
if you step back from the dual-three letter matching criteria, whit is it you a REALLY trying to do?
identify misspelled drug names? create full text equivalent so that you...
August 10, 2015 at 7:08 am
levaif (8/10/2015)
So, SQL server is running under Local system account, on an terminal server.
I use my domain account to log into the server,...
August 10, 2015 at 6:48 am
levaif (8/10/2015)
Example :
SET @ExecCommand ="SELECT *...
August 10, 2015 at 6:31 am
to prevent drop and recreate, but allow alter, I don't believe normal permissions don't go that granular, so you'd have to create a DDL trigger to rollback the commands...
August 10, 2015 at 6:24 am
I've done it the opposite way, replace NOT allowed characters.
if a char is not allowed, do you just remove it, or replace it with a space or other char?
here's an...
August 10, 2015 at 6:10 am
Viewing 15 posts - 1,576 through 1,590 (of 13,469 total)