Viewing 15 posts - 7,786 through 7,800 (of 8,731 total)
An easy and effective way to do this is by using the quirky update. You must fully understand what it is doing, follow all the rules and test for effectiveness...
August 14, 2013 at 12:57 pm
Yes, depending ont he architecture, it should be x64 or x86.
August 14, 2013 at 10:43 am
You can install SQL Server Express with advanced tools. It includes SSRS but won't have BIDS for SSIS or SSAS.
August 14, 2013 at 9:45 am
tom.w.brannon (8/14/2013)
August 14, 2013 at 8:16 am
bgrossnickle (8/13/2013)
FYI - I wanted the FROM @tablename to be a variable. Not a variable in the WHERE clause.
But you got a different way of doing things that will give...
August 13, 2013 at 5:53 pm
Do you mean that you want to edit the results of a SELECT statement? That can't be done.
Right clicking the table and selecting "edit 200 rows", will change the contents...
August 13, 2013 at 2:45 pm
Have you tried something like this?
Declare @Database varchar(20)
Set @Database = 'TDSTEP'
Declare @RowCount int
declare @sql as nvarchar(max)
set @sql = ' SELECT @RowCountOUT = Count(*) FROM ' + @Database
exec sp_executesql @sql, N'@RowCountOUT...
August 13, 2013 at 2:08 pm
Have you tried to compare characters with the ASCII() or UNICODE() functions? You might have characters that look alike and are different for SQL Server.
August 13, 2013 at 12:12 pm
Apparently all of your requirements are urgent and you haven't learned much from SQL in the last 7 months you've been around here.
Please post DDL, sample data and expected results...
August 13, 2013 at 12:03 pm
Will this give you the expected output?
SELECT DATEDIFF( mm, date1, date2) - CASE WHEN DAY( date1) <= DAY( date2) THEN 0 ELSE 1 END
FROM (VALUES( '2013-08-05 00:00:00.000','2014-06-01 00:00:00.000'),
( '2013-08-01...
August 12, 2013 at 4:35 pm
You could take a look at this book. It's a complete process for troubleshooting SQL Server
August 12, 2013 at 10:04 am
Without more information, you could test this.
UPDATE MyTable SET
file_path = REPLACE( file_path, '/Downloads/', '/forms/')
August 12, 2013 at 7:55 am
Using dynamic code might cause problems with sql injection. You could try to use the 8K splitter [/url]to split your string.
You could end up with something like this:
SELECT *
FROM MyTable...
August 12, 2013 at 7:16 am
How do you define the order? do you have an identity value?
August 8, 2013 at 12:13 pm
.Netter (8/7/2013)
Luis Cazares (8/6/2013)
I see letter k in both rows.Kipling Road
Alexandra Park
I actually feel like an idiot! this just goes to shows I was completely shattered last night.
I'm sorry for...
August 7, 2013 at 11:21 am
Viewing 15 posts - 7,786 through 7,800 (of 8,731 total)