Viewing 15 posts - 8,491 through 8,505 (of 26,490 total)
Create us a sandbox. A couple (perhaps 2 to 4) of tables, some sample data for the tables (not a lot, just enough to cover the problem domain), and...
March 13, 2013 at 3:05 pm
Biank (3/13/2013)
if exists (select...
March 13, 2013 at 2:59 pm
Or:
DECLARE @time TABLE (StringTime VARCHAR(6))
INSERT @time
SELECT '112345'
UNION SELECT '12345'
UNION SELECT '2345'
UNION...
March 13, 2013 at 11:59 am
Sean Lange (3/13/2013)
tn_350z (3/13/2013)
I am trying to get the last...
March 13, 2013 at 11:41 am
I can't figure out what your problem is here.
March 13, 2013 at 11:31 am
fmuzul (3/13/2013)
Lynn Pettis (3/13/2013)
Nothing here to work with. Many of us have optimized SQL to perform similar calculations in the database reducing processing time from hours (or longer) to...
March 13, 2013 at 9:47 am
Look at the table sys.objects, it has the columns create_date and modify_date. This won't tell you the last table data in a table was updated or when a stored...
March 13, 2013 at 9:35 am
fmuzul (3/13/2013)
Eugene Elutin (3/11/2013)
...
But, the most important thing, is that making the change in a C++ procedure let me use the full power of the C++ language. Can't be beaten...
March 13, 2013 at 9:11 am
ryan.mcatee (3/13/2013)
CREATE SCHEMA testA
GO
CREATE SCHEMA testB
GO
CREATE TABLE dbo.Cities (city varchar(50))
GO
CREATE TABLE testA.Cities (city varchar(50))
GO
CREATE TABLE testB.Cities (city varchar(50))
GO
INSERT INTO dbo.Cities VALUES ('Chicago')
INSERT INTO testA.Cities VALUES ('Cairo')
INSERT INTO...
March 13, 2013 at 7:03 am
Sean Lange (3/12/2013)
robertd 77391 (3/12/2013)
A simple way to do this:
update #Table1
set #Table1.SID = #Table2.aID
from #Table2
where #Table1.Sno = #Table2.Sno ;
I can't for the life me remember the details but there is...
March 12, 2013 at 3:54 pm
Sean Lange (3/12/2013)
March 12, 2013 at 2:41 pm
Lynn Pettis (3/12/2013)
ryan.mcatee (3/12/2013)
The behavior is different within a stored procedure.Will have to research further later.
It is interesting behaviour.
Especially when you deal with ownership chaining.
March 12, 2013 at 2:40 pm
ryan.mcatee (3/12/2013)
The behavior is different within a stored procedure.
Will have to research further later.
It is interesting behaviour.
March 12, 2013 at 2:38 pm
Ed Wagner (3/12/2013)
The dbo schema first, then default. Thank you, Lowell. I just learned something.
Actually, if you do not provide the schema for the object it will look...
March 12, 2013 at 2:30 pm
Never mind on mine at the moment, needs more work. Have to look at it tonight.
March 12, 2013 at 1:07 pm
Viewing 15 posts - 8,491 through 8,505 (of 26,490 total)