Viewing 15 posts - 1 through 15 (of 20 total)
This article should have most of the info that will help you accomplish what you asked.
http://www.sqlservercentral.com/articles/Stairway+Series/76390/
January 18, 2014 at 6:00 pm
This appears to be a duplicate of http://www.sqlservercentral.com/Forums/Topic1532410-364-1.aspx
January 18, 2014 at 4:11 pm
I would want to check first before possibly truncating data:
select max(len(code)) from stkitem
or
select *
from stkitem
where len(code) > 20
If you do try:
update stkitem
SET Csimplecode=left(Code,20)
Here is the link for MS:...
January 13, 2014 at 8:23 pm
Your screenshot is a bit blurry. Are you sure the current file path selected for the MDF is valid and the file is in that directory?
Mike
January 13, 2014 at 8:14 pm
I tried to replicate the issue as you described and did not have the problem using 2012. Keep identity should be unchecked and is by default.
Is a...
January 11, 2014 at 2:25 pm
Have you tried creating a format file for the bulk insert?
August 20, 2013 at 10:34 pm
Are there any foreign keys in the tables? Are there more columns by chance?
If you wanted a cartesian product then you have it based on the results listed (select...
August 20, 2013 at 9:41 pm
Any chance there are more files than just the primary data and log file?
Try: RESTORE FILELISTONLY FROM DISK = 'C:\Test\backuptest.bak'
June 24, 2013 at 6:35 pm
As long as both databases are on the same instance, you can....
1. USE <db>
SELECT * FROM dbo.DimCustomer
2. SELECT * FROM <db>.dbo.DimCustomer
3. Choose the db from the db drop...
June 4, 2013 at 9:15 pm
I don't know for the 463 as I haven't taken it yet but I did for the 461. They are ok, I don't think they are necessary with Bol...
May 31, 2013 at 9:59 pm
I passed the 461 and am working on preparing for the 462. I guess it depends on what you have done for the past three years. I studied for a...
May 20, 2013 at 11:06 pm
Look at http://msdn.microsoft.com/en-us/library/ms162773.aspx or they could start it via SSMS to get an idea. This subject or a variation of it has been posted before so there...
May 20, 2013 at 10:48 pm
Sorry, I am somewhat tired and not near a pc.
Try:
'BULK INSERT newtable
FROM ''C:\inetpub\wwwroot\'+ @importedfile +
''' WITH ( FIRSTROW = 4,
FIELDTERMINATOR = '','',
ROWTERMINATOR = '''')'
Also, might want to review
May 16, 2013 at 11:40 pm
Try something like:
'BULK INSERT newtable
FROM ''C:\inetpub\wwwroot\'''+ @importedfile +
'WITH ( FIRSTROW = 4,
FIELDTERMINATOR = '','',
ROWTERMINATOR = '''')'
May 16, 2013 at 11:21 pm
Viewing 15 posts - 1 through 15 (of 20 total)