Viewing 15 posts - 46 through 60 (of 66 total)
Thank you Guys !
I will work on problem today 🙂
And i will you let you know.
Thank you
Jacek
December 6, 2017 at 1:58 am
Thank you DimPerson,
i tried with double slashes and with sometihng like that:
dbconn.Execute("C:\\Users\ljar01\Documents\SQL Server Management Studio\BulkInsert.sql")
Best Wishes,
Jacek
December 6, 2017 at 1:39 am
Hi All,
I found the code whis is working and opening database!
dim dbconn, ConnectionString
ConnectionString ="Provider=SQLOLEDB;Data Source=NR90F56ZX\SERVERTEST;" & _
"Initial Catalog=QlikView;" & _
"Integrated Security=SSPI;"
Set dbconn = CreateObject("ADODB.Connection")
dbconn.Open ConnectionString
The last problem...
December 6, 2017 at 1:30 am
Hi Thom A,
thank you.
The code below throws error:
dim dbconn, ConnectionString
ConnectionString = "Driver={SQL Server};Server=NR90F56ZX\SERVERTEST;database=QlikView;IntegratedSecurity=yes;"
Set dbconn = CreateObject("ADODB.Connection")
dbconn.Open ConnectionString
dbconn.Execute("C:\Users\ljar01\Documents\SQL Server Management Studio\BulkInsert.sql")
Error is connected with "/" sign:
December 6, 2017 at 12:52 am
Thank you very much !
It is working!
Best Wishes,
Jacek
December 5, 2017 at 6:13 am
Hmm it is very strange - now i file was uploaded with success!
I will test the file tomorrow also and i will let you know if it is...
December 5, 2017 at 6:00 am
Hi Guys,
in attachment there is my flat file from where I am trying to upload data into MS SQL Server.
Please help with creating Query for it..
December 5, 2017 at 5:08 am
Hi Guys,
thank you for helping me,
my code is:
USE QlikView
GO
CREATE TABLE tbl_Slownik
(
ID INT IDENTITY(1,1),
UniqueID NVARCHAR(50),
Data_Zmiany Date,
PESEL...
December 4, 2017 at 7:32 am
Hi,
thank you Anthony.
I think that your code is working but without using FORMATFILE:
so here is a problem with ID field which is set as...
December 4, 2017 at 4:36 am
Hi Guys,
thank you for helping !
MY CSV is not looking like standard CSV.
Is looking like Excel with columns.
Ok, how can i specify syntax in...
December 4, 2017 at 3:52 am
Hi Dennis,
thank you for your precious answer !
It is working like a charm.
Problem was also connected with nulls in my database within float field.
December 4, 2017 at 3:33 am
Thank you Guys,
i used :
Select
*,
CAST(Company_NIP as float) as Company_NIP2
FROM QlikView.dbo.tbl_Slownik
and there is NO any problems within this.
November 29, 2017 at 7:41 am
Thank you Steve!
Does every row in your text file contain a valid value for that column, that should be able to be converted to a float?
November 29, 2017 at 7:18 am
Hi Eirikur,
thank you very much!
So question here:
are SQL Administrators do often what you have suggested me?
If yes, i will do that.
November 29, 2017 at 7:13 am
Thank you Steve,
From flat file it is good when i am downloading all data as a string.
Next data converstion is used and I am converting string...
November 29, 2017 at 6:23 am
Viewing 15 posts - 46 through 60 (of 66 total)