Viewing 15 posts - 3,346 through 3,360 (of 13,460 total)
Besides NOLOCK being a bad idea in general, as it can lead to bad thinks like missing data, duplicate data and more, the NOLOCKS on a temp table are pointless.
if...
Lowell
June 4, 2013 at 5:35 am
because my Google-Foo is strong, I Gave "mysql send email" a try.
That lead me to a link on the MySQL forums, and a subsequent link to a Visual Studio project...
Lowell
June 4, 2013 at 5:15 am
Sean Lange (6/3/2013)
You lost me a bit in here. There is no MERGE statement in what I posted. There is no delete. It is simply an insert statement with an...
Lowell
June 3, 2013 at 3:15 pm
that's the point... there is no need to use the exact same screen to add administrators that you saw during the initial installation; that screen is just for convenience, and...
Lowell
June 3, 2013 at 3:10 pm
AndrewSQLDBA (6/3/2013)
Thank You LowellThat works perfect. I appreciate the other code to the right wide of the at symbol.
Andrew SQLDBA
glad i could help; if there were more than just two...
Lowell
June 3, 2013 at 12:41 pm
If the Data ALWAYS contains the @ symbol, you could use some of the SubString functions:
;With MySampleData([val])
AS
(
SELECT '1596424@DAR'
)
SELECT *,
LEFT(val,CHARINDEX('@',val) -1) as OneWay,
SUBSTRING(val,1,CHARINDEX('@',val) -1) As AnotherWay,
SUBSTRING(val,CHARINDEX('@',val) +1,30) As RightSideWay
FROM MySampleData
WHERE...
Lowell
June 3, 2013 at 12:16 pm
Minnu (6/3/2013)
Can u please tell me that the msg "UPDATE' is not recognized as an internal or external command,"
is coming from the SQL exec call or from the batch...
Lowell
June 3, 2013 at 9:30 am
Also Logon Triggers are per server, and not at the database level, so i can login, and then access multiple databases with multiple commands, and a Logon trigger would not...
Lowell
June 3, 2013 at 9:03 am
well, I've got two suggestions:
first, you should be using the INSERTED table so you only get the rows that were touched in this INSERT.
The second, is just to review the...
Lowell
June 3, 2013 at 6:52 am
Ed Wagner (6/3/2013)
It ran fine until the year 2808, so I figured you must be bumping up against a converted numeric somewhere that was...
Lowell
June 3, 2013 at 6:43 am
it's the order of operations.
create table StudentAccount references table Instructor,
so the script has to create table Instructor before it can
create table StudentAccount;
i reordered that one table...
Lowell
May 31, 2013 at 1:08 pm
I've got an HP G71, and bought one of thosse SSD/HD replacement Caddy to replace the DVD in the Side Bay with an SSD caddy.
it was really easy to do...
Lowell
May 31, 2013 at 11:10 am
pretty sure all you need to do is toggle this option:
it's in place to prevent someone from making accidental changes:

after that, you will be able to modify the column in...
Lowell
May 31, 2013 at 9:06 am
here's a few different ways to recover access by adding yourself as a sysadmin:
via powershell, which supports impersonation by a local admin:
via A Scheduled Task, which supports impersonation by a...
Lowell
May 31, 2013 at 8:32 am
GrassHopper (5/31/2013)
the data...
Lowell
May 31, 2013 at 7:48 am
Viewing 15 posts - 3,346 through 3,360 (of 13,460 total)