Viewing 15 posts - 4,861 through 4,875 (of 26,490 total)
I am assuming that you aren't using SQL Server 2005 since you are mentioning Column Store Indexes.
July 8, 2015 at 7:30 pm
WayneS (7/8/2015)
Good going Lynn.You Lynn are a genius!
:blush:
Thanks.
July 8, 2015 at 2:33 pm
Alvin Ramard (7/8/2015)
I've had it. Enough is enough! When are people gonna stop hiring people that don't have a clue about they're hired...
July 8, 2015 at 1:17 pm
:blush:
Glad we got it to work finally. I find myself writing a fair amount of dynamic SQL to accomplish various tasks. It is a pain to write and...
July 8, 2015 at 12:56 pm
How about trying this:
DECLARE @BackupStatement as nvarchar(4000)
,@SQLCmd nvarchar(4000)
,@SQL nvarchar(4000)
,@SourceDBName as varchar(100) = 'AuditTest2'
,@SourceServerName as varchar(100) = 'adasdb'
,@Destination as varchar(500) = '\\clients.advance.local\Data\WIP\test' +...
July 8, 2015 at 12:46 pm
Or something like this:
with Obsolete as (
select
c1,
c2
from
dbo.tblOld
except
select
c1,
c2
from
...
July 8, 2015 at 12:16 pm
WayneS (7/8/2015)
Jeffery Williams (7/8/2015)
Here is what I am playing...
July 8, 2015 at 12:02 pm
Have you tried this:
EXEC (@SQLCmd) AT <your_linked_server_name>
Where @SQLCmd is your dynamic backup command?
July 8, 2015 at 10:38 am
jcobb 20350 (7/8/2015)
July 8, 2015 at 10:25 am
ChrisM@Work (7/8/2015)
Lynn Pettis (7/8/2015)
There, I feel...
July 8, 2015 at 9:39 am
Minnu (7/8/2015)
Numeric values in the first query should be converted to INTEGER.
You can't mix character data and integer data in the same column.
What are you trying to accomplish? Based...
July 8, 2015 at 9:30 am
ChrisM@Work (7/8/2015)
Minnu (7/8/2015)
Hi,first query result :
1
2
11
20
32
68
100
124
246
256
second query result
A1
A10
A11
AB1
AB10
B1
B2
B21
B31
want to generate the complete output in single select statement.
select
ColA = CASE WHEN CastableToInt = 1 THEN cast(Data as int) ELSE NULL...
July 8, 2015 at 9:14 am
Michael L John (7/8/2015)
Try using a UNION ALL.
Won't work since the OP wants the numeric values converted to integer values:
select cast(Data as int) from #TestData where Data not like '%[^0-9]%'
union...
July 8, 2015 at 9:13 am
Minnu (7/8/2015)
Hi,first query result :
1
2
11
20
32
68
100
124
246
256
second query result
A1
A10
A11
AB1
AB10
B1
B2
B21
B31
want to generate the complete output in single select statement.
Not going to happen since you want to convert the numeric values to integer values.
What...
July 8, 2015 at 9:08 am
Okay, bite the tongue, keep the sarcasm off the thread Silver Spoon just posted. Nothing you can do there but get yourself in trouble.
There, I feel a little better.
July 8, 2015 at 9:05 am
Viewing 15 posts - 4,861 through 4,875 (of 26,490 total)