Viewing 15 posts - 811 through 825 (of 920 total)
Just suggestions, your milage may vary:
Start with Chris Date's 'Introduction to Database Systems' for a good foundation. I'm partial to Fabian Pascal, though he's not everyone's cup of tea, who...
September 30, 2005 at 7:02 pm
This is probably closer:
SELECT PERSON.LAST_NM, PERSON.FIRST_NM, ADDRESS.ADDR_TEXT
FROM PERSON, ADDRESS
WHERE PERSON.EMPLOYEE_ID=ADDRESS.PERSON_ID
September 26, 2005 at 2:03 pm
You need to ad an 'order by' clause to the cursor definition if you want the rows back in a particular order. Relational tables have no implied order and unless...
September 26, 2005 at 9:15 am
What's the target response time you're looking for? Is there anyhing else running on the box? How much memory is SQL Server actually using?
September 23, 2005 at 9:05 pm
Does this step send out an email? I've seen this same error scenario when the task works but the email fails. If that's the case, make sure the sql-sa user...
September 23, 2005 at 12:14 pm
Gotta agree. The folks who talk about XML as a data management technology are returning us to IMS and other pre-relational ideas. Those concepts were displaced by relational ideas for...
September 15, 2005 at 12:31 pm
Another nice solution (with a single query) can be found here:
September 7, 2005 at 3:23 pm
'Unexpected EOF' is a pretty generic message. It normally means that there was a formatting problem somewhere along the line and the BCP program got lost and couldn't figure out...
August 30, 2005 at 3:40 pm
No problem. If the master file is large, you might want to use the -b switch to force the server to commit after a know quantity of rows. (something like...
August 30, 2005 at 12:55 pm
Give this a try:
Remove the first two \0
Change the third one to \n
I'm assuming that the text file doesn't actually contain string delimiters between the fields. This should pick up...
August 30, 2005 at 12:42 pm
If you're logging in with your Windows credentials, you need to leave off the -U and -P and add -T. Give this a try:
bcp "merch.roc\zyahya.tester" in "c:\temp\testdata" -f"c:\temp\testformat.fmt" -T -SSW520SQLDEV01
August 30, 2005 at 10:22 am
Could you show us the command you're using to invoke the bulk copy? If you have rights to create tables in a database, you should be able to copy data...
August 30, 2005 at 9:53 am
Hmmm, getting around the semantics of 'business logic', 'application logic', and 'data validation', I'd like to propose that any logic, the avoidance of which may produce rows in the database which do...
August 23, 2005 at 5:50 pm
It's been a long time since I've done this, but I seem to remember that the mainframe liked to have additional information about the imported files such as record length...
August 15, 2005 at 3:54 pm
Viewing 15 posts - 811 through 825 (of 920 total)