Viewing 15 posts - 721 through 735 (of 1,554 total)
Have you tried the ANSI syntax in Sybase?
/Kenneth
November 30, 2005 at 2:11 am
It does indeed look like a network/connectivity error, though sometimes these messages can be a bit fuzzy and misleading.
Have you looked in the SQL Server log and the Eventlog for...
November 29, 2005 at 6:39 am
You can specify a casesensitive collation for each element in the replace, that way the replace will be casesensitive.
select replace('A' collate Latin1_General_CS_AS, 'a' collate Latin1_General_CS_AS, 'a' collate Latin1_General_CS_AS)
...
November 28, 2005 at 8:29 am
Can you explain a bit about your purpose and intentions here?
If you update 5 rows in one update statement, there is no logical ordering - all 5 rows are logically...
November 25, 2005 at 9:09 am
YAW alternative (Yet Another Way)
-- If assumption is to check for existance first
IF OBJECT_ID('dbo.myTable') IS NOT NULL AND OBJECTPROPERTY(OBJECT_ID('dbo.myTable'), 'IsTable') = 1
-- If assumption is to...
November 25, 2005 at 6:04 am
You're in some troubles here due to the inconsistent formats of dates. There's no do-it-all formula for catching all kinds of possible dateformats in one go, and especially not to...
November 22, 2005 at 3:20 am
Yes, as discovered, if the user enters mutliple words, the words has to be in the same order in the text row searched as the user has entered them.
On...
November 22, 2005 at 2:52 am
Agreed, postions is a problem - didn't think of that. However, that should be solvable wihtout resorting to dynamic SQL nevertheless. You should be able write a function for that...
November 21, 2005 at 9:24 am
You may not want to use dynamic SQL for this purpose. There's absolutely no reason at all to use dynamic SQL in this case! Dynamic SQL is NOT the answer...
November 21, 2005 at 8:48 am
Well, try again.
I just copied the post and pasted into QA, and it ran with no problems. You realize that it's demonstrational, you must adapt it to your own tables.
/Kenneth
November 21, 2005 at 8:45 am
One method may be to use REPLACE and replace each space with the '%' wildcard.
create table #x ( word varchar(40) not null )
insert #x select 'monitors'
insert #x...
November 21, 2005 at 5:09 am
Of course, Itzik made one for that too.
if object_id('dbo.fn_dectobase') is not null drop function dbo.fn_dectobase
go
create function dbo.fn_dectobase(@val as bigint, @base as...
November 21, 2005 at 1:28 am
Great, almost there.
You need to supply a few rows of data for each table that demonstrates the problem you're having, and a display of your desired output from those sample...
November 21, 2005 at 1:23 am
Post DDL for tables involved, along with a few sample rows of data for each table and your desired output.
Provide it in 'script' form so that it is easy to...
November 18, 2005 at 5:09 am
..and what does 'limit' do in mySQL..?
/Kenneth
November 18, 2005 at 5:05 am
Viewing 15 posts - 721 through 735 (of 1,554 total)