Viewing 15 posts - 24,751 through 24,765 (of 26,490 total)
So, trying to read minds here based on the posts so far, you want something like this?
begin transaction
select
*
from
Production.Product with (UPDLOCK)
where
...
May 20, 2008 at 1:29 pm
mtassin (5/20/2008)
2. SQL isn't a programming language. It is a set based Data Manipulation Language, last I checked you couldn't pause a stored procedure in the middle to ask...
May 20, 2008 at 12:15 pm
Actually, it came down to this, your WHERE clause would not make use of an index on the date field if available, where as the change I made would allow...
May 20, 2008 at 12:04 pm
How about showing us what you are trying to do? Your code, table DDL, sample data, and expected output.
😎
May 20, 2008 at 10:25 am
So, based on this discussion ALL programming languages should then throw an error if there is a truncation occuring due to attempting to pass a string value that is larger...
May 20, 2008 at 10:21 am
Use what works best. I just thought I'd throw another way to do it your way.
😎
May 20, 2008 at 9:51 am
John Rowan (5/20/2008)
I just based it on the OP's post.
What a novel concept.....:)
lol... Of course, how many times has that turned out to be NOT what they want. There...
May 20, 2008 at 9:50 am
As this is SQL Server 2005, how about this:
select
EmpID,
EmpName,
Pin
from
dbo.Table1
except
select
EmpID,
...
May 20, 2008 at 9:39 am
I took Gail's code and made some changes. Go ahead and check it out.
create table #Temp(
...
May 20, 2008 at 9:16 am
To expand on Jeff Moden's post. You will need to use the Execute Process Task. You will need a Zip utility with a command-line capability.
😎
May 20, 2008 at 8:58 am
Do the following as well:
sp_configure 'show advanced options', 1
go
reconfigure
go
sp_configure
go
Check the value for Default Language. If the run value is 0, then it is set to us_english. You then...
May 20, 2008 at 8:42 am
Shark Energy (5/20/2008)
May 20, 2008 at 8:28 am
John Rowan (5/19/2008)
May 20, 2008 at 8:04 am
Viewing 15 posts - 24,751 through 24,765 (of 26,490 total)