Viewing 15 posts - 7,051 through 7,065 (of 13,469 total)
here's one way:
select * from YOURTABLE where PATINDEX('%[ !"#$%&''()*+,-./:;<=>?]%',YOURCOLUMN) > 0
--or
select * from YOURTABLE where YOURCOLUMN LIKE '%[ !"#$%&''()*+,-./:;<=>?]%'
July 29, 2011 at 11:29 am
i'd step completely outside of SQL server and write something in a programming language instead.
trying to do everything from within SQL is the old "Everything is a nail"...
July 29, 2011 at 11:09 am
ranuganti (7/29/2011)
I have a table in which a couple of columns (varchar) is having ASCii characters so how do i find them using a sql query?Thanks.
you are still not...
July 29, 2011 at 9:46 am
OPENROWSET command could do it, but for me that's just another flavor of a linked server; only difference is whether you devclare the server(that excel spreadsdheet) on the fly, or...
July 29, 2011 at 9:40 am
failrly easy to generate your own table of ascii chars, but i don't understand what you meant by from mulitple columns;
can you explain what you were after?
here's one example:
with Tally...
July 29, 2011 at 9:24 am
sqlnaive (7/29/2011)
Lowell, Your queries were perfect. It's just another thing. Lets say I want this user U1 to have permissions to GRANT permissions to other users ???
well first, I'd question...
July 29, 2011 at 9:17 am
sqlnaive (7/29/2011)
what permission level should a role have to run gran permissions ?
well that's up to you...if the end user is supposed to have access to some of the procs,...
July 29, 2011 at 8:26 am
we'd have to see your actual code you executed;
nia.CHARINDEX really implies something you changed.
the CHARINDEX function is builtinto SQL, just like ISNULL...so if you preface it with a schema name...
July 29, 2011 at 7:13 am
- Win. (7/29/2011)
Sorry track this to another way.
- Is there anyway that to track the Logins, created date, accessed date, when it was accessed the particular database.
Is this...
July 29, 2011 at 6:38 am
defintiely the second; if you grant per item, otherwise if you drop and recreate a proc, or add a new proc you have to regrant the permissions
that's very similar...
July 29, 2011 at 6:24 am
http://technet.microsoft.com/en-us/library/ms189612(SQL.90).aspx
db_owner has all the rights of these subordinate roles as well...
basically the db_owner role can do anythign to the database..back it up, drop it, or create/change/destroy anything within that...
July 28, 2011 at 11:03 am
parameters don't do what you are expecting them to do there...@level is a string, which [by coincidence] contains commas, which makes you think it might do somethign special.
to do what...
July 28, 2011 at 9:42 am
a lot of scrambling of data is specific to the tables and lookups invloved;
I've got something that replaces all existing data with something like this (street names are a random...
July 28, 2011 at 7:32 am
Viewing 15 posts - 7,051 through 7,065 (of 13,469 total)