Hi,
I am trying to load the following csv file:
C1,C2,C3
1 ,M ,5
2 ,W ,1
3 ,M ,8C
Where C1, C2 and C3 are column names.
When I load the file using Microsoft.Jet.OLEDB.4.0, the table in SQL server looks like the following:
C1,C2,C3
1 ,M ,5
2 ,W ,1
3 ,M ,
Which 8C missing.
Can anyone tell...
Hi,
I have two tables (t1 and t2) of same structure. The contents of two tables are different. Now I have to create a materilized views that append t1 and t2 together. Since materilized views do not allow 'Union', do anyone has a way to handle this or know any work-arounds?
Thanks alot in advance!
Hi, I am using a DTS package-ActiveX task to call a SQL server database through a MS provided ODBC Driver, and my SQL statement has included a long Transac-SQl statement. In which a cursor is used.
I can only use up to 69 records in the cursor, and the last 5 records loaded to the cursor were...
Hi,
Suppose I am currently connected to a database "data1" (not the local server), and I want to make a connection to one of the tables (say, the table name is "table1") using VBScript code in a DTS package. How exactly should I do that?
I have tried to create a ADO object...
Hi
How can I change the owner of tables from "owner" to "dbo" using a script or stored procedure? If I have 60 tables, it is inpractical to change them manually, so is there a way to change it all together?
Thanks in advance.
Hi,
Is it possible to do a MINUS option between tables in SQL Server?
Like, (Select * from tableA) MINUS (Select * from tableB) assuming that both tableA and tableB have same number of columnes?
Thanks alot in advance.
hi,
I am running into a problem that, suppose table A has 10 columns and I want to access one column each time, at the same time keep track of what column that is. For example, I will get all the data from column "c1" and put the summary of the data, say "15" into table B...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.