Viewing 15 posts - 10,996 through 11,010 (of 13,469 total)
Andras gave you an example; we thought you could extrapolate.
note the assumption that with the data, there is always space and then the two digit state code.
here is a...
June 11, 2009 at 6:21 pm
i think you are missing a reference; try adding
Imports System.Collections
to the top of your class. IEnumeration is a member of System.Collections.
June 10, 2009 at 11:26 am
the issue is the way exclusive locks work.
a lock prevents the SELECT,UPDATE/INSERT/DELETE of the table.
it does not prevent the selecting of the current ident value, or reviewing of any other...
June 10, 2009 at 11:08 am
why are you selecting @CurrentId from an identity value manually? INSERT into the table and get the Scope_Identity() its the right way to do it. it looks like you are...
June 10, 2009 at 9:38 am
andy.gear (6/10/2009)
June 10, 2009 at 7:44 am
this might help a little bit:
the Us Census Bureau put together the most common male first names, female first names, and most common last names:
http://www.census.gov/genealogy/names/names_files.html
90% of the names in...
June 10, 2009 at 7:37 am
you won't have any problem with the SELECT @variable, 'Any constant',col1,col2 from SomeTable Format; it's very common to need to do that.
June 10, 2009 at 7:09 am
usually, i create two roles in this situation.
one, just as you describe, that gives a user db_datareader and db_datawriter for example.
then i create a second role, and it';s sole purpose...
June 10, 2009 at 5:48 am
also SQL Recon from Special Ops Security[/url] is free and does a great job as well as doing some quickie analysis like blank passwords and a best guess at which...
June 10, 2009 at 5:35 am
maybe something is missing in your code snippet, but you declare a variables like @activityID and @UpdateLogin, never assign them a value, but then use then to insert into...
June 9, 2009 at 9:37 pm
i understand why you are breaking everything into step by step...it's easy to understand logically.
however, perfomance wise, you can do everything together in one swoop...get the emails, remove duplicates, and...
June 9, 2009 at 9:20 pm
also, i notice you are inserting into two tables : "MasterList" and "maintable";
i would think you would be inserting into just one temp table, right? and the exists should bee...
June 9, 2009 at 7:52 pm
bit of a logic hole there.
a GO statement cannot exist in a stored procedure. when you run that statement it creates a stored proc that only does one thing...deletes from...
June 9, 2009 at 7:40 pm
Viewing 15 posts - 10,996 through 11,010 (of 13,469 total)