Viewing 15 posts - 16 through 30 (of 32 total)
-- =============================================
-- Author: Parackson
-- Create date: 9/3/2008
-- The following will return the number of sundays in a given month depending on the incoming date value
-- =============================================
CREATE FUNCTION dbo.CountSundaysInMonth(@inDate AS...
September 3, 2008 at 1:04 pm
You stated that a new contruct was added to the SP.... Try removing it and then re-running the sp.... It sounds as your issues started once that line...
September 3, 2008 at 12:39 pm
To me... This makes no sense.. "and (colTwo = @num2 or @num2 = 0)"
I do not know why you are doing the second or.... "or @num2 = 0"
I...
September 3, 2008 at 12:16 pm
Your data provided does not match the table specifications.... Plus the query you provided continually failed due to bad syntax...
I have played with your query to at...
September 3, 2008 at 10:59 am
This answers the simple part of your question... You can use this to insert data to differnt tables if you'd like... Just change #YourDesiredTable# Also please read...
September 3, 2008 at 10:34 am
Looks like it... Between can do integer, date, varchar and there are more that I did not put down here....
Stupid question here, but are you saving currency amounts as...
September 2, 2008 at 6:10 pm
SELECT
*
FROM
#YourTableName
WHERE
id BETWEEN 20 AND 30
September 2, 2008 at 5:15 pm
I got this one wrong, and then when to my analyzer to figure something out.....
SELECT CAST(MIN_ACTIVE_ROWVERSION() AS FLOAT)
If you run this you get the error of Explicit conversion from data...
September 2, 2008 at 4:47 pm
dsegalles80 (9/2/2008)
Actually no, I'm trying to find the interleaving rows of unique data
Are you trying to receive multiple resultsets....
RowID ...
September 2, 2008 at 4:34 pm
With a little DB design you should not have to do this table....
FYI... my ID is parackson my rank on this site is Grasshopper
September 2, 2008 at 4:10 pm
This answers your question but I don't quite understand why you are doing this.... (No table name provided so created table "DayOfWeekDates")
--SET START OF WEEK TO BE MONDAY (SUNDAY...
September 2, 2008 at 3:20 pm
Trust me I fully understand what you are saying... I am in the wrong place and am just biding my time till I get somewhere else.... Boss is...
September 2, 2008 at 2:06 pm
yes the last number is a punch type but not necessary a start or end.... Sometimes you will only have a Shift Start(300) and a Shift End(303).. Sometimes...
September 2, 2008 at 1:46 pm
I know its not exactly using free-text but have you thought about the following
SELECT
*
FROM
Cars WITH (NOLOCK)
WHERE
Make = COALESCE(Make, @inMake)
AND Model = COALESCE(Model, @inModel)
September 2, 2008 at 1:18 pm
Just tried it and not quite working right...
190167672008-08-17 01:30:00.0002008-08-17 09:30:00.000
190167672008-08-17 09:30:00.0002008-08-18 02:30:31.000
190167672008-08-18 02:30:31.0002008-08-18 09:00:00.000
190167672008-08-18 09:00:00.0002008-08-19 02:30:00.000
190167672008-08-19 02:30:00.0002008-08-19 10:30:00.000
190167672008-08-19 10:30:00.0002008-08-20 01:30:00.000
190167672008-08-20 01:30:00.0002008-08-20 10:00:21.000
190167672008-08-20 10:00:21.0002008-08-21 02:30:00.000
Unfortunetly I think this goes back to...
September 2, 2008 at 1:12 pm
Viewing 15 posts - 16 through 30 (of 32 total)