Viewing 15 posts - 13,261 through 13,275 (of 15,381 total)
js_0505 (1/10/2012)
20110101,glp,100.0,50.0,25.6 hgl,29.0,28.0 jlp, 30.0
how can i split via space and comma so i have the desired output into a sql table.
20110101...
January 10, 2012 at 12:34 pm
Run DBCC USEROPTIONS on both servers. That will show you the dateformat.
January 10, 2012 at 12:12 pm
Example usage:
select * from dbo.DelimitedSplit8K('abcd,efg,hij,klmn,opqrstu,vwxyz', ',')
where ItemNumber = 3
This will return 3, 'hij'. I think is exactly what the OP was looking for.
January 10, 2012 at 9:17 am
Cadavre (1/10/2012)
January 10, 2012 at 9:13 am
A couple of things. Simply repeating a vague and non-descript explanation is not going to make it clear for anyone. It is obvious that you are getting frustrated. This is...
January 9, 2012 at 12:19 pm
OK we are now 20 posts into your request and the details of what you want is still changing with each post. We can't see over your shoulder, we are...
January 9, 2012 at 11:59 am
What have you tried? It looks like the script posted above would be a pretty good starting point. That could be modified pretty easily to accomplish what you are after.
I...
January 9, 2012 at 8:46 am
You need to find table and column names for any table that contains a numeric value that is exactly 9 digits?
January 9, 2012 at 8:27 am
Ivan Mohapatra (1/9/2012)
hello plz answer if u know or plz let other to answer
The point is to not post the same question in multiple places. It fragments responses.
January 9, 2012 at 8:25 am
Please don't cross post. Direct all replies here. http://www.sqlservercentral.com/Forums/Topic1232230-391-1.aspx
January 9, 2012 at 8:16 am
I searched on google for "sql server convert sysjobschedules to datetime" and the very first hit has the following function.
create FUNCTION [dbo].[udfGetDateTimeFromInteger]
(
@intDate int,
@intTime int
)
RETURNS datetime
AS BEGIN
-- Declare the return variable...
January 6, 2012 at 1:59 pm
ColdCoffee (1/6/2012)
i may do this:
create function udf_TrimTrailingZeros
(
@Input varchar(50)
) returns varchar(50)
as...
January 6, 2012 at 1:34 pm
One problem with what you posted is if you passed in a sku of 1300038 it would return 13 38.
If you 100% certain that there are 3 and only 3...
January 6, 2012 at 12:41 pm
You declared your files array but never instantiated it. In other words, you need to get your files somewhere. You need something like files = GetListOfFileNamesFromSomeLocation
January 6, 2012 at 8:04 am
You are going to have to provide a LOT more information before anybody can help. We need to have ddl (create table scripts), sample data (insert statements) and desired output...
January 6, 2012 at 7:51 am
Viewing 15 posts - 13,261 through 13,275 (of 15,381 total)