Viewing 15 posts - 6,136 through 6,150 (of 11,678 total)
You can deploy projects with Powershell:
SSIS and PowerShell in SQL Server 2012
(first example, but it talks about deployment from filesystem to server. I think server to server should be possible...
November 29, 2012 at 2:52 pm
You can query the system tables:
SELECT * FROM sys.columns
WHERE name LIKE '%_commodity_%'
or
SELECT * FROM INFORMATION_SCHEMA.columns
WHERE column_name LIKE '%_commodity_%'
November 29, 2012 at 2:42 pm
At a SQL Server conference I was speaking at two weeks ago, I met one of the co-founders of lessthandot.com/[/url]. Later that day he asked me if I wanted to...
November 28, 2012 at 2:20 pm
Revenant (11/28/2012)
November 28, 2012 at 1:54 pm
Sean Lange (11/28/2012)
November 28, 2012 at 1:51 pm
There's no logical difference between NOT LIKE '%[^0-9]%' and LIKE '%[0-9]%'. Because the first one is a double negation, it will be the same when you leave all the negations...
November 28, 2012 at 10:38 am
sqlfriends (11/28/2012)
Koen Verbeeck (11/28/2012)
^ is the negation. So %[^0-9.-]% means "every character that is not 0 through 9, a dot or the minus symbol".
Thanks, and thanks for site link,...
November 28, 2012 at 10:25 am
weberharter (11/28/2012)
this one works:set @sql = 'exec '+ QUOTENAME(@dbname) + '..sp_executesql N''create schema MyNewSchema'''
exec (@sql)
Congrats for proving me wrong 😀
November 28, 2012 at 1:50 am
You put it in a SQL Server Agent job and schedule the job. In the schedule, you can specify to run it weekly, and select the days Monday through Friday.
November 28, 2012 at 12:34 am
^ is the negation. So %[^0-9.-]% means "every character that is not 0 through 9, a dot or the minus symbol".
November 28, 2012 at 12:32 am
I don't think you can.
You can't use the "USE database" statement in a stored procedure and you cannot qualify the schema with a database name in the CREATE SCHEMA statement.
November 28, 2012 at 12:29 am
Duplicate post. Original thread can be found here:
http://www.sqlservercentral.com/Forums/Topic1389518-391-1.aspx
November 28, 2012 at 12:21 am
The only correct answer is 0.
There are 8 statements in the estimated execution plan, but no queries.
From BOL:
A query is a request for data that is stored in SQL Server.
November 28, 2012 at 12:16 am
Viewing 15 posts - 6,136 through 6,150 (of 11,678 total)