Viewing 15 posts - 7,021 through 7,035 (of 26,490 total)
rho_pooka (1/11/2014)
January 11, 2014 at 12:10 pm
If you are routinely using cursors in your production code you are more than likely doing things wrong. Cursors should be avoided for most database activity. The only...
January 10, 2014 at 1:19 pm
I'm trying to figure out why you would want to restrict your developers from using a valid construct for solving user requests.
January 10, 2014 at 1:05 pm
Any answer you get here will be opinion. You really should be talking to your SQL Server vendor or Microsoft.
January 10, 2014 at 12:58 pm
mwitthoft (1/10/2014)
(a) occurs 100% on one server
(b) occurs 0% on another server
Pseudocode
Declare cursor as..
Open cursor
Fetch next
while @@FetchStatus
...
January 10, 2014 at 12:40 pm
Trying to figure out how a UNION (or UNION ALL) could be used to append malicious code to a SQL query. Can you provide a couple of examples?
January 10, 2014 at 10:38 am
SQLSteve (1/10/2014)
To run this
Exec dbo.createbackupProc [Database name], [Number of stripes]
/****** Object: StoredProcedure [dbo].[CreateBackupProc]...
January 10, 2014 at 10:03 am
Just for s & g's could you post a sample of what the final script generated looks like?
January 10, 2014 at 9:43 am
SQLSteve (1/10/2014)
select @backupcommand = 'Backup database [' + @Databasename + '] to '
while @splits < @splits1
begin
select @backupcommand = @backupcommand +
'disk = ''' + @Subdir +...
January 10, 2014 at 8:28 am
Luis Cazares (1/9/2014)
declare @SSDate datetime = '20140109'
declare @CharSSDate char(10)
SELECT CONVERT( char(10), @SSDate, 103), --4-digit year
STUFF( CONVERT( char(10), @SSDate, 103),...
January 9, 2014 at 9:17 am
Just a note to all planning to attend PASS 2014, I may NOT be there this year. It all depends on what transpires here in Afghanistan. Since I...
January 8, 2014 at 1:16 pm
That version does not include SSIS or SSAS. If you want to learn these areas I would recommend purchasing the Developer Edition of SQL Server 2012. This will...
January 6, 2014 at 1:44 pm
hjvegt1960 (1/6/2014)
I have recently installed SQL Server 2012 (from a download from the SQL Server pages)
After a lot of practising with queries I would like to start with the...
January 6, 2014 at 1:17 pm
Okay, you are missing the point. Even though SQL Server Express can be used as a Desktop database system, it is a full blown RDBM system. It is...
January 6, 2014 at 12:54 pm
tamer.h (1/5/2014)
please advice regarding the below query, I've got an error
"Arthimatic overflowerror converting expression to data type datetime"
SELECT nEventLogIdn, DATEADD(s, nDateTime, '1970-01-01 00:00:00')...
January 5, 2014 at 8:25 am
Viewing 15 posts - 7,021 through 7,035 (of 26,490 total)