Viewing 15 posts - 391 through 405 (of 1,229 total)
-- if this returns a few thousands of rows or more;
SELECT RTRIM(referencia) referencia FROM arttamcor GROUP BY referencia
-- then consider setting it up as a temp table:
SELECT RTRIM(referencia) referencia
INTO...
October 28, 2012 at 3:23 am
This has already been answered but it's interesting that the logical requirement exactly matches an existing function which isn't used in any of the solutions offered. What you're looking for...
October 28, 2012 at 2:57 am
yuvipoy (10/22/2012)
Ok, thanks. Can you give an example of how the data from this output table would be used please?
ChrisM as i have said i am having some business logic's...
October 22, 2012 at 7:04 am
Brandie Tarvin (10/22/2012)
ChrisM@home (10/22/2012)
L' Eomot Inversé (10/22/2012)
Stefan Krzywicki (10/22/2012)
Brandie Tarvin (10/22/2012)
You know what I hate about pie charts?
You can never tell what...
October 22, 2012 at 6:46 am
yuvipoy (10/22/2012)
Ok, after you have done 2) insert into a table, what uses the table? A report, perhaps?
NO This is not a report one i need to join some tables...
October 22, 2012 at 6:39 am
sanjay.dakolia (10/22/2012)
this value was suppose to be datetime but by mistake the column datatype was given integer so now i want to convert it back to datetime
What date does 1157068800...
October 22, 2012 at 6:30 am
L' Eomot Inversé (10/22/2012)
Stefan Krzywicki (10/22/2012)
Brandie Tarvin (10/22/2012)
You know what I hate about pie charts?
You can never tell what filling they're using....
October 22, 2012 at 6:28 am
Stefan Krzywicki (10/22/2012)
Brandie Tarvin (10/22/2012)
You know what I hate about pie charts?
You can never tell what filling they're using. And it's awfully...
October 22, 2012 at 6:25 am
yuvipoy (10/22/2012)
The string splitting would ideally be in the stored procedure, so you would have parameters @str and @pos for the stored procedure.
Where do @str and @pos come from?
What will...
October 22, 2012 at 6:23 am
-- sample data setup
DECLARE @question table
(
questionid int identity(1,1),
questionbank uniqueidentifier,
indexnumber int,
question varchar(20),
crdate datetime
)
insert into @question
select 'B7152F93-45CE-4485-9672-7E0E5F62F775',1,'q1',GETDATE() union all
select 'B7152F93-45CE-4485-9672-7E0E5F62F775',2,'q2',GETDATE() union all
select 'B7152F93-45CE-4485-9672-7E0E5F62F775',3,'q3',GETDATE() union...
October 22, 2012 at 6:21 am
yuvipoy (10/22/2012)
as
begin
.
.
i am having values in splitter table so there is no need of @pos here we can directly take the value from...
October 22, 2012 at 6:10 am
yuvipoy (10/22/2012)
We know all of this already. What can you tell us about
1. The process which generates these two strings - where do they come from?
2. How the data is...
October 22, 2012 at 5:08 am
yuvipoy (10/22/2012)
Starting from my first post i will cont.. here...
We know all of this already. What can you tell us about
1. The process which generates these two strings - where...
October 22, 2012 at 4:33 am
yuvipoy (10/22/2012)
October 22, 2012 at 3:20 am
yuvipoy (10/18/2012)
now the thing is i need to insert this data into a table
my table is
create testtable (Rid int identity(1,1),col1 int,col2 int,col3 int,col4 int,col5 int,col6 int)
i...
October 22, 2012 at 3:18 am
Viewing 15 posts - 391 through 405 (of 1,229 total)