Viewing 15 posts - 7,066 through 7,080 (of 13,469 total)
the LIKE operator can be used in a join, as well as CHARINDEx or PATINDEX to try and find matching criteria.
see how i provided copy-and-pasteable CREATE TABLE and sample data...
July 28, 2011 at 6:04 am
not bad to, good job posting your work. since you put some effort into the homework problem , let me try to offer some constructive advice.
i think i see two...
July 27, 2011 at 12:54 pm
Thanks everyone;
I've attached it successfully as a user database and will now make a huge mess of things.
Thanks!

July 27, 2011 at 12:08 pm
what you want to do is all the case logic inside the SELECT, without using that extra variable.
something like this is syntactically correct...let me know if it is logically correct:
select...
July 27, 2011 at 9:38 am
at our shop, we have to do both SQL and Oracle;
as a result, to make our scripting a little easier, we added this package a long time ago;
this makes the...
July 27, 2011 at 9:20 am
Nice, Jason, i like that...
I think she has data that is not in 4 part naming conventions tho...version 10.45 compares to 8.34.53.2234 for example....i'm adding a CTE to my...
July 27, 2011 at 9:04 am
yeah, you should test drive mine first before you say it won't work....
whaty would you expect to be greater if you compare Version "10" to version '1.4.56.2344'?
if everytthing is 4...
July 27, 2011 at 8:43 am
Joy the only way i thought to do this right was with a case statement...i ended up dumping it into a scalr function;
you can use this as an example and...
July 27, 2011 at 8:16 am
based on this ms doc, where changing the server collation requires a rebuild:
http://msdn.microsoft.com/en-us/library/ms179254.aspx,
i'm guessing that the server collation is actually the collation of the resource database, regardless of whatever...
July 27, 2011 at 7:04 am
is your instance an "Express" instance?
by default, an express isntance does not allow remote connections...meaning you can work just fiine locally, but nothing can connect to your machine until you...
July 27, 2011 at 6:33 am
In addition to what Eugene said, i usually create the replacement proc under a new, temporary name,a dn test them side by side, comparing execution plans;
yoiu know exec pr_myproc @param...
July 27, 2011 at 6:25 am
Riskworks (7/26/2011)
When I call it from another Proc I get an error saying that...
July 27, 2011 at 6:19 am
not directly like that...you could use a scalar function instead...but before i demo that...lets review what you are trying to do...there might be a better way.
if the email address is...
July 27, 2011 at 6:02 am
i was playing witht eh event notifications for that for a while; on a certians erver, i was trying to create a suite of roles in any database that was...
July 26, 2011 at 1:18 pm
also, you can use a server wide DDL trigger for CREATE_DATABASE, but if the database is created new from a restore, it's not detected, for whatever reason that;s not a...
July 26, 2011 at 1:15 pm
Viewing 15 posts - 7,066 through 7,080 (of 13,469 total)