Viewing 15 posts - 4,876 through 4,890 (of 5,504 total)
kaushikrsharma (10/9/2009)
1)Please code up a stored procedure that takes a single parameter and allows the calling application to insert multiple records into a single table
create proc t @val varchar(10)
as
insert into...
October 10, 2009 at 5:42 am
If you need to keep the values within that row you'd have to do a pivot on the result set you've got when using Jeffs tally Table method.
Basically, there are...
October 10, 2009 at 5:26 am
Aur_Ek_SQL (10/9/2009)
Above question if resolved. ...
Would you mind sharing your solution so others can benefit?
October 9, 2009 at 10:02 am
Would something like the following help?
DECLARE @xml xml
SET @xml='<root>
<column_name>
<node_a>value1</node_a>
<node_b>value2</node_b>
</column_name>
</root>'
SELECT
T.n.value('localname[1]', 'varchar(100)') AS Localname,
...
October 8, 2009 at 2:20 pm
You might want to search for "split string function" on this site.
October 8, 2009 at 2:09 pm
ritesh.kansara (10/8/2009)
October 8, 2009 at 1:16 pm
Lynn Pettis (10/6/2009)
October 7, 2009 at 5:51 pm
Like I stated above:
If you insist on using your data structure you might want to search for "split string function" on this site. It'll help you for now but it's...
October 7, 2009 at 5:09 pm
Ruaghain (10/7/2009)
October 7, 2009 at 4:59 pm
Easiest thing would be to change your data to be normalized:
Instead of
tbl_house_fails
---------------
4 - 1,2,3 - 07/10/2009
insert the values as separate rows. It's a lot easier to work with...
4 -...
October 7, 2009 at 4:28 pm
Duplicate post.
Please continue discussion here .
October 7, 2009 at 4:20 pm
Allowing users to create their own tables is almost like open Pandoras box...
Once they can create a (simple) table the next requests most probably will be:
- design complex tables using...
October 7, 2009 at 4:14 pm
You could try to force the output from SQL Server to U.S. standard format using CONVERT(CHAR(10),YourDateValue,101).
Edit: ... but this won't be a date format anymore. But it's possible that your...
October 7, 2009 at 3:57 pm
The error message you're referring to will show you the line in your proc that causes the error (even when calling it from within a proc):
Msg 16924, Level 16, State...
October 7, 2009 at 3:30 pm
Please read the link in my signature and post sample data as described.
Make sure to include your expected output together with what you've tried so far.
This will help us help...
October 7, 2009 at 2:52 pm
Viewing 15 posts - 4,876 through 4,890 (of 5,504 total)