Viewing 15 posts - 5,371 through 5,385 (of 8,731 total)
I'm confused.
Were you able to call your GetMonthDays procedure but you want to use procedures to call data from SQL? If that's the case, it would be the same...
January 2, 2015 at 4:01 pm
If I understood correctly, this should help you:
CREATE TABLE #Source(
SomeString varchar(8000))
CREATE TABLE #Test(
[STD_SiteName] [varchar](20) NULL,
[STD_Parameter] [varchar](16) NULL,
[STD_Qualifier] [varchar](6) NULL,
[STD_PQ] AS (([STD_Parameter]+'_')+[STD_Qualifier])...
January 2, 2015 at 3:25 pm
This is what I get in the Predicate for each SELECT statement.
SELECT *
FROM bitTest
WHERE somebit = 1
--[Test].[dbo].[bitTest].[somebit]=[@1]
SELECT *
FROM bitTest
WHERE somebit = 'True'
--[Test].[dbo].[bitTest].[somebit]=CONVERT_IMPLICIT(bit,[@1],0)
SELECT *
FROM bitTest
WHERE somebit = 112
--[Test].[dbo].[bitTest].[somebit]=[@1]
--No results
January 2, 2015 at 10:07 am
I'm working here as most of the people in my office. Except for my boss who said he was sick and now I have to fix all the problems he...
January 2, 2015 at 9:57 am
I just made a test and it doesn't seem to be an implicit conversion when using 1 or 0. It's different when you use 'true'.
CREATE TABLE bitTest(
...
January 2, 2015 at 8:42 am
Nice question, I checked the answer just to be sure and realized that a nice wrong answer would have been June 6, 2079 which is the limit for smalldatetime. Mostly...
December 31, 2014 at 10:09 am
Yes, it's possible, but I wouldn't advice on using decimals on calculations as it's easy to get it wrong.
For example, .01 translates into 864 seconds instead of 900 seconds. To...
December 30, 2014 at 9:17 am
Could you create filtered views and give permissions over those views?
I'm not sure how you're handling your security.
December 26, 2014 at 11:03 am
Of course, buying new hardware can get you some time. But how much time would you get if your app is full of crappy code? There's no piece of hardware...
December 26, 2014 at 10:02 am
Happy Holidays to everyone!
I wish that you can enjoy quality time with your families and beloved ones and may the new year bring you happiness and growth (hopefully not in...
December 26, 2014 at 9:01 am
You can't use variables to replace object names. That goes for DDL, DML, DCL or anything in T-SQL.
You could use dynamic SQL for this.
December 24, 2014 at 8:59 am
Eirikur Eiriksson (12/23/2014)
Lynn Pettis (12/23/2014)
Eirikur Eiriksson (12/23/2014)
Lynn Pettis (12/23/2014)
December 23, 2014 at 4:06 pm
GilaMonster (12/23/2014)
http://www.sqlservercentral.com/Forums/Topic1646163-391-1.aspxI'll just be in the corner sobbing softly...
Smile, you're on Candid Camera. 😀
December 23, 2014 at 2:13 pm
Viewing 15 posts - 5,371 through 5,385 (of 8,731 total)