Viewing 15 posts - 5,146 through 5,160 (of 15,381 total)
viresh29 (4/17/2014)
Hello All,I am new with statistics in sql server. Can anyone tell me how to create it and update it on tables.?
Thanks
Viresh
These three links should prove useful.
April 17, 2014 at 2:32 pm
Seems like it should work. However, you should NOT use select * when populating your variable. You should ALWAYS use the actual column name. Consider what happens if at some...
April 17, 2014 at 2:10 pm
utdc1 (4/17/2014)
i don't have to actually fix any values? just the column? The monthdayyear can stay "01312000"
You would have to add a dateformat to your script for this to work.
SET...
April 17, 2014 at 1:46 pm
Or maybe this??
where ISNUMERIC(SomeValue) = 0
ISNUMERIC is rather useless because it can return some false positives too. http://www.sqlservercentral.com/articles/ISNUMERIC%28%29/71512/%5B/url%5D
Make sure you read to discussion too.
April 17, 2014 at 1:11 pm
Do you want any rows that do not contain any numbers? It is not entirely clear what you want here.
with someData as
(
select '1.51922e+015' as SomeValue union all
select '1.53122e+015' union all
select...
April 17, 2014 at 1:09 pm
jbalbo (4/17/2014)
CASE WHEN charindex('@T_750_finalscorestatus = "Draft"', Assessment_data) > 0 THEN 'Draft'
...
April 17, 2014 at 1:01 pm
utdc1 (4/17/2014)
ok here is the most updated one. and yea the dates are killing me. How would i do this date time thing?
You fix it by using datetime instead...
April 17, 2014 at 12:57 pm
jbalbo (4/17/2014)
I guess size really doesn't matter..
what I need are the 5 characters following the...
April 17, 2014 at 11:56 am
I have a field with "Data"
similar to
"@@"@@T_001_Version = "v2009.01.13.1_1.7"@@T_002_ = "@@T_749_formstatus = "0"@@T_750_finalscorestatus = "Draft"@@M_752_ = "*Hx of AH, VH, and d....
You gave us some business rules but...
April 17, 2014 at 10:15 am
You might want to take a look at this blog post from Gail. She goes over how to handle catch-all type queries. This is very close to that type of...
April 17, 2014 at 10:08 am
wendy elizabeth (4/17/2014)
DECLARE@return_value int,
...
April 17, 2014 at 10:06 am
OK. I need to understand some of the business rules here. Let's start with the first order and the first item on it.
select *
from Orders
where SalesOrderNumber = 'S19856'
and ItemNumber...
April 17, 2014 at 8:46 am
rootfixxxer (4/17/2014)
Thanks...
April 17, 2014 at 8:40 am
Starting a new thread on the same topic with the same lack on information is not going to provide a better answer. You have to keep in mind that we...
April 17, 2014 at 8:37 am
Without going into great detail you need to use the datetime datatype for dates. Using numeric(8) for dates is going to be a serious pain to deal with. I realize...
April 17, 2014 at 8:34 am
Viewing 15 posts - 5,146 through 5,160 (of 15,381 total)