Viewing 15 posts - 10,096 through 10,110 (of 13,469 total)
here's my best guess; I had trouble identifying what is supposed to be the A alias, especially since it seems to appear twice.
SELECT
JOB.EMPLID,
JOB.FILE_NBR,
PER.NAME,
...
January 20, 2010 at 9:52 am
VIEW ANY DEFINITION would give them the ability to see proc code, but not edit it; here's some examples: you can also do it to a specific schema, so...
January 20, 2010 at 9:22 am
I'm a little weak on the UPDATE function, but i thought that if the column is included in the update statement, even if it is still the same value, the...
January 20, 2010 at 9:10 am
CLR is much faster with string manipulations. there are some things that cannot be done in TSQL
Regular expressions is one of the most common example, where it cannot be done...
January 20, 2010 at 7:35 am
gotcha...so you want to kill their connection if they use your the logon designated for your application and SQL Server Management Studio(or anything except your application:
the if statement would look...
January 20, 2010 at 6:37 am
you didn't quite post enough information...
you said Say that the user enters 'a a m' as the search terms. Given the following two simplified tables, how do I select Michael...
January 19, 2010 at 9:01 pm
checkai (1/19/2010)
January 19, 2010 at 5:33 pm
can you have each process add a variable to the procedure call? or at least one of them? they can discover which process from a parameter, but not really from...
January 19, 2010 at 1:14 pm
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
Viewing 15 posts - 10,096 through 10,110 (of 13,469 total)