Viewing 15 posts - 61 through 75 (of 91 total)
Hi,
Basically I need to know which of these jobs are connecting to which servers when the job step runs a T-SQL script or when running a ssis package?
Is this possible...
September 17, 2013 at 4:08 am
Hi IgorMi this will not work, thanks though!
September 9, 2013 at 4:57 am
Thanks dwain.c !
Exactly what I need, nice work!
September 9, 2013 at 4:57 am
Hi,
How do you do the CTE? As I would like a flag field?
Thanks
September 9, 2013 at 12:17 am
Hi,
I don't want to alter any table, I want this done by a sql select statement only? Plus this would not work as only want it to appear as Yes...
September 8, 2013 at 5:37 pm
Hi,
No problem, where do I find this attached zip file?
Thanks
August 19, 2013 at 3:38 am
Firsly I got the following message when trying to create the table SCF_Invoices
Msg 102, Level 15, State 1, Line 2
Incorrect syntax near '('."
Which I then amended the script and...
August 19, 2013 at 2:55 am
What if the table does not have a index or primary key? I take it the above sql will only work if it has this?
June 10, 2013 at 10:49 am
Hi,
Can you not add a update statement at the end of the package, which update all that column and removes any pipeline characters?
update yourtablename
set yourcolumnname = REPLACE(<columnname>,char(124),char(32))
November 6, 2012 at 4:26 pm
Hi,
I have taken CHAR(13) off from query now and still works, so the sql query looks like the below now:
DECLARE @SQL NVARCHAR(MAX)
SELECT @SQL = substring(REPLACE(
CAST(
(
SELECT ' UNION SELECT * FROM...
November 5, 2012 at 9:44 am
Hi, I have amended your code so that all appears in one select statement.
DECLARE @SQL NVARCHAR(MAX)
SELECT @SQL = substring(REPLACE(
CAST(
(
SELECT ' UNION SELECT * FROM ' + QUOTENAME(name)
--Select *
--'SELECT...
November 5, 2012 at 7:53 am
Hi,
Thanks for quick reply, when I ran this I am getting unknown characters which does not work when I execute the SQL for this:
USE [master];
SELECT * FROM INFORMATION_SCHEMA.COLUMNS
November 5, 2012 at 5:18 am
Viewing 15 posts - 61 through 75 (of 91 total)