Viewing 15 posts - 2,086 through 2,100 (of 13,469 total)
as long as you due your due diligence, and check to make sure you won't have any data conversion errors, you'd be ok;
here's a quick example: if you radaptation of...
January 21, 2015 at 11:47 am
remove the GO statements.
GO statments are not a SQL command, but instead something that SQL Server Management Studio uses to split batches.
also, i'd recommend bullet proofing your code like this...
January 21, 2015 at 11:10 am
your case statement was 99% there:
you got caught with syntax, minor tweak to get ove rthe "IS" error:
CASE --nothing goes here when formula is used in a WHEN a.exposure_amt
...
January 20, 2015 at 10:57 am
profiler/trace/extended events tell you what commands were executed, but not what data changed.
an audit can tell you that a value changed.
the best way to handle it is of course at...
January 20, 2015 at 7:57 am
i think you want a constraint like this:
this is what you want to prevent in the future: anything that is NOT numbers
select p.Pext,* from person_test2 p where p.Pext like...
January 16, 2015 at 3:05 pm
Ronnie Jones (1/16/2015)
I'm thinking more along the lines of:.mdf = master data file
.ldf = log data file
.ndf = "next" data file
🙂 Crazy I know...
ya'll missed the southern naming influece here....
January 16, 2015 at 2:49 pm
oh i missed combination of NUMBERS.
rules are being deprecated, you should just create a check constriant.
I know you said you can't add constraints, but technically a rule is a kind...
January 16, 2015 at 12:29 pm
tcronin 95651 (1/16/2015)
January 16, 2015 at 12:25 pm
to use "be made with the logins security context", the user must be a user on the domain.
if the user was a SQL user, an anonymous connection is made, which...
January 16, 2015 at 11:24 am
it would be more efficient to refer to an image that exists on the internet.
the size of the email is reduced, and also the throughput to your email server.
I know...
January 16, 2015 at 11:15 am
to grant permissions to other users, your user also needs the db_securityadmin priviledge
scroll down to "Permissions" on this page, and it's got the gory details:
January 16, 2015 at 9:57 am
halifaxdal (1/16/2015)
no way i know of to ignore errors, you have to explicitly use LEFT functions in the SELECT or something to work around this issue.
based on your table, only...
January 16, 2015 at 9:39 am
looks pretty straight forward to me:
select
AVG(RSCORE) AS ScoreAvg,
AVG(RAmount) As AmtAvg,
AVG(Rvisit) AS VistAvg,
SUM(TotalAmt) AS TotalAmount
...
January 16, 2015 at 9:23 am
halifaxdal (1/16/2015)
January 16, 2015 at 8:54 am
your cursor is not designed correctly.
it gets the first record, does nothing, gets the next record, processes it, and then hits the END.
the last statement before END must be the...
January 16, 2015 at 6:40 am
Viewing 15 posts - 2,086 through 2,100 (of 13,469 total)