Viewing 15 posts - 2,191 through 2,205 (of 26,488 total)
Could you post an expand example to work with?
December 20, 2017 at 9:44 am
December 20, 2017 at 9:42 am
If you use a single table for each day the tables will be smaller. You would only need 31 tables for the data as 30 of the tables are used...
December 20, 2017 at 9:13 am
Quick question as I am getting ready to head out from work and may not get back on a computer until work tomorrow, the GraphDB Microsoft added in SQL Server...
December 19, 2017 at 6:20 pm
The other thing, that Jeff hasn't said yet, check the dynamic code that is being generated as well as how it is being executed. I solved some of our dynamic...
December 19, 2017 at 3:19 pm
Two ways to accomplish this and it depends if you have Enterprise Edition or not. If not, use partitioned views. Each day is in its own table and you rebuild...
December 19, 2017 at 3:08 pm
It could be something else is going on. I just took Lynn's code, change...
December 19, 2017 at 2:47 pm
Not sure, the following works for me:
declare @ssGrade VARCHAR(8000) = 'PK,KG,01,02';
SELECT * FROM fn_splitString(@ssGrade);
Doing the insert into a temp table works as...
December 19, 2017 at 2:37 pm
I really don't like importing data from Excel spreadsheets.
December 19, 2017 at 2:24 pm
December 19, 2017 at 2:22 pm
December 19, 2017 at 2:12 pm
How about something like this:
DECLARE @SQLCmd NVARCHAR(MAX),
@Sheetname NVARCHAR(128) = N'Sheet1$',
@sql NVARCHAR(MAX) = N'
SELECT * into TestClient FROM OPENROWSET(''Microsoft.ACE.OLEDB.12.0'', ''Excel 12.0;HDR=YES;Database=G:\CustomerETL\Employee\PendingETL\ETLEmployeexls.xls;'', [@Sheetname@]);
December 19, 2017 at 2:06 pm
Viewing 15 posts - 2,191 through 2,205 (of 26,488 total)