Viewing 15 posts - 1 through 15 (of 23 total)
This is my code:
declare @Date varchar(8) = 'UnconvertDate'
select CAST(RIGHT(@dATE, 4) + LEFT(@Date, 4) as date)
from hp27.importData
I get this error message:
Conversion failed when converting date and/or time from character string.
September 19, 2013 at 11:31 am
That worked! Now this is probably a silly question, but how do I get it to use the date that's already in the date field? By using the...
September 17, 2013 at 9:38 am
I was able to get the data into a staging table in SQL. All the fields of the staging table are varchar except for the Hour field which is...
September 13, 2013 at 11:19 am
What data type do I bring it into the staging table as?
September 12, 2013 at 10:59 am
I was able to get the SAS ODBC driver downloaded and configured. I know it's working because I can import the data into Excel using that SAS data source....
August 2, 2011 at 7:21 am
There is an Export Wizard in SAS where I can export the file to a csv or txt file. How would I then take the csv file and pull...
July 29, 2011 at 12:26 pm
I looked under the "About" and it says I have SAS 9.1 TS Level 1M3 XP_Pro Platform. So do I perform the proc export within SAS? As I...
July 26, 2011 at 7:33 am
How do I know if I have the correct interface? All I was told was the the SAS is intalled locally on my machine. There is no server...
July 26, 2011 at 7:12 am
Did you figure out how to accomplish this? I've got SAS on my PC, not on a server and I want to load the output from the SAS file...
July 26, 2011 at 7:06 am
I tried selecting all regions by default as well and that didn't work. I keep getting the original message.
May 18, 2011 at 10:16 am
I tried making the multi-select parameter null, but it wouldn't allow that.
May 18, 2011 at 10:10 am
Okay, this will show how new to SQL Server I really am. You'll have to dumb it down for me. I'm not sure how to go about setting...
April 25, 2011 at 9:38 am
I have set up shared data sources to both databases on each server. I am needing to combine the two to create a dropdown for my parameter. I'll...
April 22, 2011 at 9:58 am
Well see, that's the thing. When I type the code in, I don't put quotes around the VARCHAR. SSRS automatically puts them in when I run it.
The error...
April 21, 2011 at 1:45 pm
I've tried both ways so I must be doing something wrong because I still get an error. First, I looked again at the table and both fields are character...
April 21, 2011 at 7:46 am
Viewing 15 posts - 1 through 15 (of 23 total)