Viewing 15 posts - 16 through 30 (of 89 total)
hey right!!!!!
but my question is what the stored procedure does and if possible explain @COMMAND string with ?. some thing new to me
May 9, 2008 at 2:51 am
Torsten Schüßler (5/7/2008)
Hi,you both are right!
But i have a problem with the forum's code 🙂
CU
the code is calling system procedure called sp_MSforeachdb which will return some records and the records...
May 9, 2008 at 12:15 am
Torsten Schüßler (5/5/2008)
something like this:
c:\csvtest.csv:
1,James,Smith,19750101
2,Meggie,Smith,19790122
3,Robert,Smith,20071101
4,Alex,Smith,20040202
Database Table:
CREATE TABLE CSVTest
(ID INT,
FirstName...
May 8, 2008 at 11:51 pm
hi steve
i am using sql 2000. how can i answer this question?
Better seperate questions for sql 2000 and 2005, since i could not answer well.
hope you do the needfull
May 8, 2008 at 11:24 pm
once you have records in EMPLOYEE table thru INSERT then there is only way is update.DONT CONFUSE YOURSELF.CTE IS FOR SOME OTHER PURPOSE.which will not a soulution for your problem
May 8, 2008 at 8:59 pm
sharma (5/8/2008)
ID in Address table is pk & ID in qualification table is FK
Initailly Employee table is empty.
Address tbl contains...
May 8, 2008 at 7:22 am
sharma (5/6/2008)
The below is table structure
EMPLOYEE
id
name
pg
street
city
state
pg
ADDRESSstreet
city
state
QUALIFICATIONug
pg
The above is table structures.
I need to select values from address & qualification tables and insert the same into...
May 7, 2008 at 8:06 am
No it is not column seperator, it is charactre in the string. see my previous post . which making a string seperated by commas
May 7, 2008 at 6:37 am
Grant Fritchey (5/7/2008)
No, no, no. Jeff's smarter and better looking. I'm.... uh, I'm.... Hey!
hey.. i confused.. i was saying to Grant not jeff and not ryan
May 7, 2008 at 6:09 am
Mahesh Bote (5/5/2008)
[font="Verdana"]Views stores query with execution plan. So I think using views might be better over using tables directly.Mahesh[/font]
mahesh,
even it has query plan. it should scan the base tables.
May 7, 2008 at 5:55 am
RyanRandall (5/7/2008)
shamshudheen (5/7/2008)
Jeff,Who's Jeff?
sorry not jeff
Ryan
your understanding is right....
May 7, 2008 at 5:48 am
sharma (5/6/2008)
For initial data dumping i need to do that way only.
I am having one table. But i need to fetch data from two tables and insert into one...
May 7, 2008 at 4:54 am
Grant Fritchey (5/6/2008)
CAST(SizeInGigs=floor( backup_size/1024000000) AS VARCHAR) + ' GB'
An alias is a way of masking or...
May 7, 2008 at 4:49 am
mahesh
what about ','. the technique is to remove tryling commas
May 7, 2008 at 4:37 am
Viewing 15 posts - 16 through 30 (of 89 total)