Viewing 15 posts - 24,736 through 24,750 (of 26,484 total)
Could you post the DDL for the tables, some sample data (using inseret statements) for each table, and the expected output from each query based on the provided sample data.
😎
May 22, 2008 at 3:58 pm
GSquared (5/21/2008)
May 21, 2008 at 11:25 am
veenagireesha (5/21/2008)
You need to work around with something like this....Find all command options available through winzip..It has password (-s) command etc...You need to use xp_cmdshell, unless you are not fan...
May 21, 2008 at 10:29 am
tony.sawyer (5/21/2008)
ALTER FUNCTION TruncDate
(
@InDate DATETIME
)
RETURNS...
May 21, 2008 at 9:56 am
DBA (5/20/2008)
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
GO
BEGIN TRANSACTION
Select.....
Updates......
May 20, 2008 at 9:36 pm
GSquared -- Another I use for DMing AD&D, for tracking encounters and battles, exp and loot. (How uber-nerd is that? I myself shudder when I think about it....
May 20, 2008 at 2:39 pm
Is there a way by reading each row to uniquely identify what data is in each row?
😎
May 20, 2008 at 2:34 pm
James Goodwin (5/20/2008)
What is occuring is an automatic type conversion. If I do this:
Declare @tmp datetime
set @tmp = '20080101'
select...
May 20, 2008 at 2:02 pm
mtassin (5/20/2008)
Lynn Pettis (5/20/2008)
May 20, 2008 at 1:32 pm
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
Viewing 15 posts - 24,736 through 24,750 (of 26,484 total)