Viewing 15 posts - 10,096 through 10,110 (of 13,461 total)
Richard McSharry (1/19/2010)
"Why does posting a question to forums so often result in the answer popping into one's head immediately after posting?" :ermm:
So true!
by the time you take the time...
January 19, 2010 at 11:17 am
I use a case just like Lutz suggested; only difference is depending on what the data is capturing, I have a cut off date, so i don't accept dates...
January 19, 2010 at 6:59 am
there is a suite of views that you can search the "definition" column from,
for example this might get you started:
select *
from sys.all_sql_modules
where definition like '%myTableName%'
you can use this view...
January 17, 2010 at 6:08 pm
its variable scope;
anything like variables or temp tables created during the execution of a stored procedure do not exist outside of the proc...that's why you can call the same proc...
January 15, 2010 at 4:09 pm
there are prettier ways to do this, but does this give you some ideas?
DELETE FROM MyTable
WHERE orderid IN(SELECT orderID From Table1 WHERE orderID IS NOT...
January 15, 2010 at 10:48 am
this works with the example data you posted; dunno about the data types, but the code works:
==edit i built this based on the first psuedocode, you posted again prior to...
January 15, 2010 at 6:38 am
alex the logic is in your cursor; if you are doing something to one row, you can do the same thing to multiple rows; somewhere int here you've got what...
January 15, 2010 at 6:14 am
rew i think you are right...when you grant someone ALTER, the can alter or drop the object...as they might need to drop in order to create/recreate
i've got a database DDL...
January 14, 2010 at 12:58 pm
my mind reading hat is better than yours today...
actually he put in a description along with the subject, which you can only read at the topic listing level, and cannot...
January 14, 2010 at 12:18 pm
doh! rereading, i can see that;
this should help:
http://support.microsoft.com/kb/321185
2005 versions:
For example, the results resemble the following. Collapse this tableExpand this table9.00.1399.06 RTM Enterprise Edition
The following table lists the Sqlservr.exe version...
January 14, 2010 at 12:15 pm
Rem-487422 (1/14/2010)
HI,Where I can find the list of SP for SQL 2005 64bits and the build attached to it?
Thanks
Rem
not sure what you mean...SP=Stored Procedures, right? Stored procedures are not 32...
January 14, 2010 at 11:53 am
i have this code in my snippets for stripping HTML tags, but there's other ways to do this, regualr expressions and CLR being boatloads faster, as GSquared stated.
this might not...
January 14, 2010 at 11:48 am
it looks like the data consistently has comma-space-twoCharState in it. you'd have to verify your source.
It's my experience that MLS data is available already parsed into fields, I guess this...
January 14, 2010 at 11:43 am
rew can you login as that specific user in SSMS, and run these two queries? maybe the user has other roles or rights?
select * from fn_my_permissions(null,'SERVER')
select * from fn_my_permissions(null,'DATABASE')
January 14, 2010 at 11:37 am
take a look at the view sys.schemas;
this seems to give me the lsit I think you were looking for; note you have to run this on each database:
select * from...
January 14, 2010 at 7:25 am
Viewing 15 posts - 10,096 through 10,110 (of 13,461 total)