Viewing 15 posts - 3,736 through 3,750 (of 11,678 total)
RamSteve (2/6/2014)
SO we do not have any Query for CU # ? that i can run on Server instead of looking it manually ?Thanks in Advance
Nope. You can add a...
February 6, 2014 at 2:01 pm
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
Use this excellent site to look up which CU matches the build:
February 6, 2014 at 1:24 pm
Scott Coleman (2/6/2014)
Mea culpa, I overlooked one line in the first response. I'll just go shoot myself now.
One of the most important lines in the whole thread!
Scott Coleman (2/6/2014)
February 6, 2014 at 10:21 am
Nice, glad you got it solved.
Thanks for posting back the solution.
February 6, 2014 at 10:12 am
You used @tablename inside the dynamic SQL.
If you would print out @SQLStatement, you would see there is no declaration for @tablename.
You have two options:
* pass @tablename as an input parameter...
February 6, 2014 at 6:28 am
hoseam (2/6/2014)
DECLARE @SQLStatement NVARCHAR(2000);
SET @SQLStatement = 'CREATE TABLE dbo.Hosea_tblDATA_NOTE (';
SELECT @SQLStatement = @SQLStatement + ',' + c.name +' '+st.name +' '+cast(c.max_length as varchar(50))
FROM sys.tables...
February 6, 2014 at 3:50 am
SrcName (2/6/2014)
hoseam (2/6/2014)
I want to create a new table with the about of that query, that output has to be my columns
maybe
select NOTE_ID, NOTE_DESCRIPTION, NOTE_TEXT, NOTE_STATUS, NOTE_STARTDATE
, NOTE_ENDDATE, NOTE_AUTHOR,...
February 6, 2014 at 3:47 am
It is dynamic SQL yes.
The concept is simple: you construct a SQL statement on the fly, store it inside a string variable and execute it with sp_executesql.
Add PRINT @SQLStatement right...
February 6, 2014 at 2:35 am
hoseam (2/6/2014)
I want to create a new table with the about of that query, that output has to be my columns
Ah ok, now I get it.
DECLARE @SQLStatement VARCHAR(2000);
SET @SQLStatement =...
February 6, 2014 at 2:16 am
Phil Parkin (2/5/2014)
February 5, 2014 at 11:57 pm
You cannot use URLs in the for each loop/file system task.
You can use UNC paths (//servername/folder/), but not http paths.
You'll need to use the HTTP connection manager and a script...
February 5, 2014 at 6:51 am
frank_martinboy (2/5/2014)
Using OLEDB fixed the problem. Looks like Attunity driver is buggy.
OK, good to know.
February 5, 2014 at 4:02 am
I almost solely rely on networking when changing jobs.
When applying for my current jobs I few months back, I didn't even have an updated resume.
It was quite an awkward moment...
February 5, 2014 at 4:01 am
Viewing 15 posts - 3,736 through 3,750 (of 11,678 total)