Forum Replies Created

Viewing 15 posts - 1,696 through 1,710 (of 2,038 total)

  • RE: Trace Parent Table from Foreign Key

    I'm not sure if I understood what you are looking for, but if you want to know which fk column of a table references to which other object this should...

  • RE: Birthday alert

    I'm also not sure about your problem, but maybe your solution is just this:

    DECLARE @person TABLE (id INT, name VARCHAR(100), dob datetime)

    INSERT INTO @person

    ...

  • RE: How to delete OS files based on dates criteria using sql

    If you want, I can attach the C# source code and/or the assembly (if you trust me :-D).

    I just don't know if the forum allows to attach a zipped executable...

  • RE: query to find no show

    Try this:

    DECLARE @t TABLE (student INT, dt DATETIME, missed BIT)

    INSERT INTO @t

    -- today

    SELECT 1, DATEADD(DAY, DATEDIFF(DAY, 0, GETDATE())...

  • RE: PRINT statements in stored procedures

    can anybody tell me how 1 can get PRINT statments from SP execution at client side?

    I found it really useful in some cases when we need to log the actual...

  • RE: query to show even and odd order

    Michael Valentine Jones (3/27/2009)


    I'm a littel disappointed that no one wanted to play.

    Hi Michael

    Not any reason. I also noticed the script and I have to say: "Respect for the creativity...

  • RE: SQL 2008 log file backup

    We used the truncate_only functionality for development and test databases. For some load tests we take production databases to our test system. Our test environment is not as large as...

  • RE: query to find no show

    Oops... sorry!

    @Flo

    Read slow!

    Thanks GSquared!

  • RE: query to find no show

    Hi

    I'm not sure if I understood you correctly, but this?

    SELECT *

    FROM AnyTableWhoseNameYouDidNotSay

    WHERE missed = 1

    If not please provide your table definition and some sample...

  • RE: SQLSERVER password

    Ask the administrator to reset. If you are the administrator login to the windows server and connect to SQL Server with windows authentication. So you can reset the password.

    Greets

    Flo

  • RE: Can't change directory in a backup

    Hi

    I don't know anything about the SQL Server Express gui tools, but have a look to registry:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL9.MSSQLSERVER\MSSQLServer

    There should be a "BackupDirectory" configured. Change it and restart the service....

  • RE: How to delete OS files based on dates criteria using sql

    I would never say that perl is easier to read :-P. Just my admins do.

    As a said, I am using C# scripts:

    using System;

    using System.IO;

    void Main()

    {

    string[] files =...

  • RE: How to delete OS files based on dates criteria using sql

    Jeffrey Williams (3/27/2009)


    PS> Get-Childitem -Recurse | ? {$_.LastWriteTime -lt (get-date).AddDays(-3)} | % {Remove-Item $_.Name -Whatif}

    :w00t:

    So that's exactly what I'm speaking about...

    Fortunately I don't have to. I'm a developer, not an...

  • RE: Rad XML data declared as ntext

    Hi

    Try this:

    DECLARE @T TABLE (id int, txt NTEXT)

    INSERT INTO @t

    SELECT 1, '<root>

    <response>

    <whatIwant test="bla">value</whatIwant>

    ...

  • RE: Basic SQL Exercises

    bitbucket (3/27/2009)


    Sorry do not know of a work book, but use these forums and try to answer any question on T-SQL BEFORE looking at any answer which has been posted...

Viewing 15 posts - 1,696 through 1,710 (of 2,038 total)