Viewing 15 posts - 13,771 through 13,785 (of 26,486 total)
kenstevenson (3/14/2012)
Is there a way to quickly search some freetext in all sp/fn within the database? I often need to search for a sp but just couldn't find it, I...
March 14, 2012 at 2:04 pm
Or, if all things being equal:
DECLARE @DatetimeasVC VARCHAR(30);
set @DatetimeasVC = '10/28/2011 11:47:55.686455 AM';
select convert(datetime,
substring(@DatetimeasVC, 7, 4) + substring(@DatetimeasVC, 1, 2) + substring(@DatetimeasVC, 4,...
March 14, 2012 at 1:56 pm
calvo (3/14/2012)
The string is too long to be converted to a datetime data type.try
SELECT convert(datetime,'1/6/2012 12:36:35.631 PM')Or use datetime2 as coldcoffee suggested in his example.
Based on the forum this...
March 14, 2012 at 12:00 pm
A little busy right now, but it looks like you are going to have to do some reformating of your dates to convert. The format code 100 expects the...
March 14, 2012 at 11:59 am
saidapurs (2/8/2012)
All are under same domain...
I tried from 1st it self....
I logged in in Primary server & logging primary Database than connect Mirror &...
March 14, 2012 at 11:40 am
Well, if you really want a solution you need to do a few things first.
One, read the first article I reference below in my signature block regarding asking for help....
March 14, 2012 at 11:17 am
GilaMonster (3/14/2012)
jcrawf02 (3/14/2012)
Midichlorians never bothered me so much, I think they show up in some of the books somewhere, so I was ready for that one.
Not in any of the...
March 14, 2012 at 11:12 am
Hey, I missed it too and I was looking for a missing comma. :blush:
March 14, 2012 at 11:09 am
derekr 43208 (3/14/2012)
GilaMonster (3/14/2012)
March 14, 2012 at 11:06 am
Has to be both of us. I count 19 columns in the defintion of the cursor and 19 variables.
One question, why are you using a cursor?
March 14, 2012 at 11:02 am
Gianluca Sartori (3/14/2012)
Sean Lange (3/14/2012)
No such thing as SQL Server 2006...but I believe the IN keyword for procedures is from MySql and not SQL Server. 😉
Correct. MySQL uses "IN" to...
March 14, 2012 at 10:59 am
Could you post the DDL for the tables? Looking at it I can't see a problem.
March 14, 2012 at 10:58 am
I am assuming that the IN is to indicate that the parameter that follows is an input parameter, drop it.
Also, may I suggest that you look up CREATE PROCEDURE in...
March 14, 2012 at 10:02 am
You may also want to review the jobs that run at night. Did any maintenance plans run that may have rebuilt indexes?
March 14, 2012 at 9:59 am
jcrawf02 (3/14/2012)
I won't get to meet him for a few months still, but very excited!
So now the important question is, do we let him watch Star...
March 14, 2012 at 9:29 am
Viewing 15 posts - 13,771 through 13,785 (of 26,486 total)