Viewing 15 posts - 346 through 360 (of 375 total)
No matter what I do I always mess up the syntax![]()
---------------------------------------------
[font="Verdana"]Nothing is impossible.
It is just a matter of time and money.[/font]
January 10, 2006 at 6:37 am
In sysobjects find an ID of the record where the field 'name' is the same as the name of you UDF. Then find the record(s) in syscomments with the same...
---------------------------------------------
[font="Verdana"]Nothing is impossible.
It is just a matter of time and money.[/font]
January 7, 2006 at 1:28 pm
Too bad baceuse I think I have something that can do it with the number so you will just have to convert the VARCHAR to proper number yourself![]()
---------------------------------------------
[font="Verdana"]Nothing is impossible.
It is just a matter of time and money.[/font]
January 6, 2006 at 3:16 pm
Can it take the SQL weekday values instead of VARCHAR.
6 instead of Friday?
---------------------------------------------
[font="Verdana"]Nothing is impossible.
It is just a matter of time and money.[/font]
January 6, 2006 at 2:45 pm
Well, Chris gave you an example that worked so there was no need for fixing the syntax of your code since in this case the usage of CASE was not...
---------------------------------------------
[font="Verdana"]Nothing is impossible.
It is just a matter of time and money.[/font]
January 6, 2006 at 2:31 pm
"The case statement is used in the select clause not the join clause"
I have to disagree with this statement. There is nothing syntax wise preventing you from using CASE in...
---------------------------------------------
[font="Verdana"]Nothing is impossible.
It is just a matter of time and money.[/font]
January 6, 2006 at 11:05 am
How about this:
select * from tablea
INNER JOIN tableb ON tableb.property LIKE '%tablea.property%'
PS. Changing CONTAINS to LIKE should do it. I just don't like the old linking syntax anymore.
---------------------------------------------
[font="Verdana"]Nothing is impossible.
It is just a matter of time and money.[/font]
January 6, 2006 at 8:35 am
Maybe this can help
http://blogs.msdn.com/brada/archive/2004/01/09/48925.aspx
---------------------------------------------
[font="Verdana"]Nothing is impossible.
It is just a matter of time and money.[/font]
January 6, 2006 at 8:16 am
The suggestion Ian gave you is fine in development environment, but be carefull with this in production with multiple users using your database. The Begin Transaction and running test SQL...
---------------------------------------------
[font="Verdana"]Nothing is impossible.
It is just a matter of time and money.[/font]
January 6, 2006 at 7:22 am
I created few little SPs to help me with some of what you trying to do. They work for me but you may have to modify them to fit your needs.
CREATE...
---------------------------------------------
[font="Verdana"]Nothing is impossible.
It is just a matter of time and money.[/font]
January 5, 2006 at 2:13 pm
If you provide the table definitions for both we can see what can be done.
---------------------------------------------
[font="Verdana"]Nothing is impossible.
It is just a matter of time and money.[/font]
January 5, 2006 at 1:28 pm
In my opinion CELKO's approach is a purist view of how the database should be build and has nothing to do with real life.
For example you have a database of...
---------------------------------------------
[font="Verdana"]Nothing is impossible.
It is just a matter of time and money.[/font]
January 5, 2006 at 12:55 pm
I think this is only the 'Active Topics' forum issue. The combo box for sorting there has only one entry. If you go and browse the other forums everything works...
---------------------------------------------
[font="Verdana"]Nothing is impossible.
It is just a matter of time and money.[/font]
January 5, 2006 at 12:32 pm
Look at all the tables starting with sysjob in msdb
---------------------------------------------
[font="Verdana"]Nothing is impossible.
It is just a matter of time and money.[/font]
January 5, 2006 at 11:11 am
Sorry a little cut and paste typo
It should be something like this:
SELECT * FROM table1
WHERE
(DATEPART(quarter, @date) = 1 AND DATEPART(quarter, table1_date) = 4 AND YEAR(table1_date) = YEAR(@date) -...
---------------------------------------------
[font="Verdana"]Nothing is impossible.
It is just a matter of time and money.[/font]
January 5, 2006 at 10:57 am
Viewing 15 posts - 346 through 360 (of 375 total)