Viewing 15 posts - 856 through 870 (of 907 total)
might try something like this:
Create table yyy(x char(1) primary key, y char(1), z char(1))
create table ddd(x char(1), y char(1), z char(1))
insert into yyy values('A','B','C')
insert into ddd values('A','B','C')
insert into...
September 10, 2002 at 10:11 am
Never had that happen before
Have you tried the following:
1) Change the view to "detail" and right click , and then select "all tasks", "restore database"?
2) Issue a restore command via...
September 10, 2002 at 9:35 am
Here is another example I have put together for my example website. Maybe someday I will put this on my site.
This example shows how to use sp_executesql to set...
September 9, 2002 at 11:07 am
Can't use the backup to restore a 2000 DB to 7.0, but you can migrate all the objects back using DTS package. I know what a pain.
-------------------------
Gregory Larsen,...
September 6, 2002 at 7:40 am
Sounds like Brian is right on there with why you now don't have access. Have the SA's logon to SQL Server and add you NT account as a login...
September 6, 2002 at 7:38 am
Also it depends on how you plan to build dynamic sql in your sp. If the user is not submitting the sql to the sp, but your sp generates...
September 6, 2002 at 7:33 am
Don't suppose this is what you are talking about:
declare @x money
set @x = 123.45
print cast (@x as decimal(9,2))
-------------------------
Gregory Larsen, DBA
If you looking for SQL Server Examples check out my website...
September 5, 2002 at 2:00 pm
Possibly something like this might work for you.
create table company (id int identity, name char(10))
create table users (id int identity, lastname char(10), company int, sex char(1), smoke char(1))
insert into...
September 5, 2002 at 1:49 pm
On the server is questrion, Click on the "Users and Passwords" under "Control Panel". Then Click on the "Advanced" tab, then click on the "Advanced" button, then expand the...
September 5, 2002 at 9:10 am
If the user executing the "OSQL" command is a member of the administrator group for the server you are trying to connect, and the Builtin/Adminstrator login in sql server has...
September 5, 2002 at 8:12 am
Details......
Check out this article for more information about your problem.....
http://support.microsoft.com/default.aspx?scid=kb;en-us;q321843
-------------------------
Gregory Larsen, DBA
If you looking for SQL Server Examples check out my website at http://www.geocities.com/sqlserverexamples
September 5, 2002 at 7:37 am
Is this what you are looking for:
create table t2 (id int identity primary key)
create table t3 (id int identity,
...
September 4, 2002 at 4:54 pm
Are you just asking how you might update the first 10,000 records? Is so try this:
update tblEmails
set Flag = 'P' where email in (select top 10000 email from...
September 4, 2002 at 4:49 pm
You might try something like the script below. Hope this is what you where looking for:
declare @file_size int
Create table #Foo
(
Alternate_Name char(20),
Size char(20),
Creation_Date char(20),
Creation_Time char(20),
Last_Written_Date char(20),
Last_Written_Time...
September 4, 2002 at 2:11 pm
Viewing 15 posts - 856 through 870 (of 907 total)